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: files:
- "{{ ansible_facts.distribution }}.yaml" - "{{ ansible_facts.distribution }}.yaml"
- "{{ ansible_facts.os_family }}.yaml" - "{{ ansible_facts.os_family }}.yaml"
skip: true loop: "{{ query('first_found', params, errors='ignore') }}"
loop: "{{ query('first_found', params) }}"

View File

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

View File

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

View File

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

View File

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