summaryrefslogtreecommitdiffstats
path: root/roles/cuda/tasks/main.yml
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-12-04 21:19:28 +0100
committerSuren A. Chilingaryan <csa@suren.me>2019-12-04 21:19:28 +0100
commitc42fd5cba3486068d535f38774d90aa275393b85 (patch)
treeb286d8f1cc05f7dfa2271a27bd5531bacf758a0e /roles/cuda/tasks/main.yml
parent9e38736b93a6b737ecb53d1f41dadf45cbb22c1c (diff)
downloaditm-c42fd5cba3486068d535f38774d90aa275393b85.tar.gz
itm-c42fd5cba3486068d535f38774d90aa275393b85.tar.bz2
itm-c42fd5cba3486068d535f38774d90aa275393b85.tar.xz
itm-c42fd5cba3486068d535f38774d90aa275393b85.zip
Compatibility fix with the recent ansible
Diffstat (limited to 'roles/cuda/tasks/main.yml')
-rw-r--r--roles/cuda/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/cuda/tasks/main.yml b/roles/cuda/tasks/main.yml
index f292f67..5024afc 100644
--- a/roles/cuda/tasks/main.yml
+++ b/roles/cuda/tasks/main.yml
@@ -21,7 +21,7 @@
- name: Synchronize kernel and kernel-devel packages
package: name=kernel state=latest
- when: (result | changed)
+ when: result is changed
- name: Install CUDA and related packages (1.5-2GB download, also restarts if cuda_restart_node_on_install is set to True)
package: