aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2020-04-17 10:38:00 +0200
committerRadosław Piliszek <radoslaw.piliszek@gmail.com>2020-04-21 18:05:42 +0000
commitf40886f6d2714887c1b07935fcd54856d44b25a9 (patch)
tree21733f4574c717fc137b120f64cec1aa4eeaf1d9 /tests
parent7f199f9bce6527b071fa976bd9effd704eaef255 (diff)
downloadkolla-ansible-f40886f6d2714887c1b07935fcd54856d44b25a9.tar.gz
kolla-ansible-f40886f6d2714887c1b07935fcd54856d44b25a9.zip
Improve CI ansible plays to pass ansible-lint
Change-Id: I150c8952aad7b6fdb1260b343c26a96fb2360bce
Diffstat (limited to 'tests')
-rw-r--r--tests/post.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/post.yml b/tests/post.yml
index 19ccdc9a6..f95e91242 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"