From ed7781f0bc740c48c23d0ebaac919a93c7a6ce5c Mon Sep 17 00:00:00 2001 From: Joakim Soderlund Date: Fri, 1 Jun 2018 20:57:02 +0200 Subject: [PATCH] Fix deprecated Ansible filter syntax --- operations/common/tasks/apt.yml | 4 ++-- operations/common/tasks/time.yml | 2 +- operations/opentracker/tasks/make.yml | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) 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