summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: