Merge "Improve CI ansible plays to pass ansible-lint"
This commit is contained in:
commit
ca9e6f1a4e
@ -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…
Reference in New Issue
Block a user