Skip to content

Commit

Permalink
fix bare variable warnings2
Browse files Browse the repository at this point in the history
  • Loading branch information
VilleS1 committed Jun 6, 2019
1 parent 815ee47 commit 304c9c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tasks/cuda_init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@
when:
- reg_cuda_gpu_name0.stat.exists is defined
- reg_cuda_gpu_name0.stat.exists == False
- cuda_init_restart_service
- cuda_init_restart_service|bool

# vim:ft=ansible:
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
src: cuda.sh.j2
dest: /etc/profile.d/cuda.sh
mode: 0755
when: cuda_bash_profile
when: cuda_bash_profile|bool

- include_tasks: cuda_init.yml
when: cuda_init == True
Expand Down

0 comments on commit 304c9c1

Please sign in to comment.