summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/main_dnf.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/common/tasks/main_dnf.yml')
-rw-r--r--roles/common/tasks/main_dnf.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/common/tasks/main_dnf.yml b/roles/common/tasks/main_dnf.yml
index 0572132..792a52a 100644
--- a/roles/common/tasks/main_dnf.yml
+++ b/roles/common/tasks/main_dnf.yml
@@ -5,7 +5,7 @@
# We always update on first install and if requested
- name: Update CentOS
dnf: name=* state=latest
- when: (result | changed) or (os_update | default(false))
+ when: (result is changed) or (os_update | default(false))
- name: Install various ansible requirements
package: name={{item}} state=present