Improve CI ansible plays to pass ansible-lint
Change-Id: I150c8952aad7b6fdb1260b343c26a96fb2360bce
This commit is contained in:
parent
7f199f9bce
commit
f40886f6d2
@ -31,18 +31,20 @@
|
||||
- name: Download /etc/hosts file to executor
|
||||
synchronize:
|
||||
src: "/etc/hosts"
|
||||
dest: "{{ zuul.executor.log_root }}/{{inventory_hostname }}/"
|
||||
dest: "{{ zuul.executor.log_root }}/{{ inventory_hostname }}/"
|
||||
mode: pull
|
||||
ignore_errors: yes
|
||||
|
||||
- name: dump all iptables rules
|
||||
shell: "iptables-save > /tmp/logs/iptables"
|
||||
args:
|
||||
creates: /tmp/logs/iptables
|
||||
become: true
|
||||
|
||||
- name: Download /tmp/logs file to executor
|
||||
synchronize:
|
||||
src: "/tmp/logs"
|
||||
dest: "{{ zuul.executor.log_root }}/{{inventory_hostname }}/"
|
||||
dest: "{{ zuul.executor.log_root }}/{{ inventory_hostname }}/"
|
||||
mode: pull
|
||||
rsync_opts:
|
||||
- "--quiet"
|
||||
|
Loading…
x
Reference in New Issue
Block a user