diff --git a/operations/common/tasks/apt.yml b/operations/common/tasks/apt.yml index 4eabd63..f00fa62 100644 --- a/operations/common/tasks/apt.yml +++ b/operations/common/tasks/apt.yml @@ -13,7 +13,7 @@ command: update-grub environment: UCF_FORCE_CONFFNEW: YES - when: result | changed + when: result is changed - name: Install Debian utilities apt: @@ -33,4 +33,4 @@ - name: Reconfigure unattended upgrades command: dpkg-reconfigure -f noninteractive unattended-upgrades - when: result | changed + when: result is changed diff --git a/operations/common/tasks/time.yml b/operations/common/tasks/time.yml index 06b3663..8abc6e4 100644 --- a/operations/common/tasks/time.yml +++ b/operations/common/tasks/time.yml @@ -13,7 +13,7 @@ - name: Reconfigure tzdata command: dpkg-reconfigure -f noninterractive tzdata - when: result | changed + when: result is changed - name: Install NTP daemon apt: diff --git a/operations/opentracker/tasks/make.yml b/operations/opentracker/tasks/make.yml index a07f4bb..c7f632e 100644 --- a/operations/opentracker/tasks/make.yml +++ b/operations/opentracker/tasks/make.yml @@ -20,7 +20,7 @@ FEATURES: "-DWANT_ACCESSLIST_WHITE" become: yes become_user: "{{ opentracker.user }}" - when: result | changed + when: result is changed - name: Install OpenTracker copy: @@ -31,7 +31,7 @@ owner: root group: root notify: Restart OpenTracker - when: result | changed + when: result is changed - name: Clean OpenTracker make: @@ -39,4 +39,4 @@ target: clean become: yes become_user: "{{ opentracker.user }}" - when: result | changed + when: result is changed