diff --git a/tests/post.yml b/tests/post.yml index 19ccdc9a64..f95e91242a 100644 --- a/tests/post.yml +++ b/tests/post.yml @@ -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"