Fix deprecated Ansible filter syntax

This commit is contained in:
Joakim Soderlund 2018-06-01 20:57:02 +02:00
parent d0715b9c94
commit ed7781f0bc
3 changed files with 6 additions and 6 deletions

View file

@ -13,7 +13,7 @@
command: update-grub command: update-grub
environment: environment:
UCF_FORCE_CONFFNEW: YES UCF_FORCE_CONFFNEW: YES
when: result | changed when: result is changed
- name: Install Debian utilities - name: Install Debian utilities
apt: apt:
@ -33,4 +33,4 @@
- name: Reconfigure unattended upgrades - name: Reconfigure unattended upgrades
command: dpkg-reconfigure -f noninteractive unattended-upgrades command: dpkg-reconfigure -f noninteractive unattended-upgrades
when: result | changed when: result is changed

View file

@ -13,7 +13,7 @@
- name: Reconfigure tzdata - name: Reconfigure tzdata
command: dpkg-reconfigure -f noninterractive tzdata command: dpkg-reconfigure -f noninterractive tzdata
when: result | changed when: result is changed
- name: Install NTP daemon - name: Install NTP daemon
apt: apt:

View file

@ -20,7 +20,7 @@
FEATURES: "-DWANT_ACCESSLIST_WHITE" FEATURES: "-DWANT_ACCESSLIST_WHITE"
become: yes become: yes
become_user: "{{ opentracker.user }}" become_user: "{{ opentracker.user }}"
when: result | changed when: result is changed
- name: Install OpenTracker - name: Install OpenTracker
copy: copy:
@ -31,7 +31,7 @@
owner: root owner: root
group: root group: root
notify: Restart OpenTracker notify: Restart OpenTracker
when: result | changed when: result is changed
- name: Clean OpenTracker - name: Clean OpenTracker
make: make:
@ -39,4 +39,4 @@
target: clean target: clean
become: yes become: yes
become_user: "{{ opentracker.user }}" become_user: "{{ opentracker.user }}"
when: result | changed when: result is changed