From c42fd5cba3486068d535f38774d90aa275393b85 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 4 Dec 2019 21:19:28 +0100 Subject: Compatibility fix with the recent ansible --- roles/cuda/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3