Replace skip with errors=ignore

Upstream deprecated "skip:" in preference of errors="ignore" [1].
Update playbooks to silence deprecation warning

[1] e17a2b502d

Change-Id: I72284f6ca8aaaa1ba5f94ad8e654d1b337ae762f
This commit is contained in:
Ian Wienand 2019-05-22 10:46:31 +10:00 committed by Clark Boylan
parent 18ee97749c
commit 161906647b
5 changed files with 5 additions and 10 deletions

View File

@ -5,5 +5,4 @@
files:
- "{{ ansible_facts.distribution }}.yaml"
- "{{ ansible_facts.os_family }}.yaml"
skip: true
loop: "{{ query('first_found', params) }}"
loop: "{{ query('first_found', params, errors='ignore') }}"

View File

@ -3,8 +3,7 @@
vars:
params:
files: "{{ distro_lookup_path }}"
skip: true
loop: "{{ query('first_found', params) }}"
loop: "{{ query('first_found', params, errors='ignore') }}"
- name: Disable the puppet service
service:

View File

@ -43,8 +43,7 @@
vars:
params:
files: "{{ distro_lookup_path }}"
skip: true
loop: "{{ query('first_found', params) }}"
loop: "{{ query('first_found', params, errors='ignore') }}"
- name: Enable iptables service
service:

View File

@ -3,8 +3,7 @@
vars:
params:
files: "{{ distro_lookup_path }}"
skip: true
loop: "{{ query('first_found', params) }}"
loop: "{{ query('first_found', params, errors='ignore') }}"
- name: Install unbound
package:

View File

@ -11,8 +11,7 @@
vars:
params:
files: "{{ distro_lookup_path }}"
skip: true
loop: "{{ query('first_found', params) }}"
loop: "{{ query('first_found', params, errors='ignore') }}"
- name: Write Exim defaults file
template: