aboutsummaryrefslogtreecommitdiff
path: root/tests/post.yml
diff options
context:
space:
mode:
authorMichal (inc0) Jastrzebski <inc007@gmail.com>2017-10-17 11:18:44 -0700
committerMichal (inc0) Jastrzebski <inc007@gmail.com>2017-12-27 09:21:35 -0800
commit478e2cf9c9ebc8d9c9cc2d6d36f542c79501fd14 (patch)
tree9c062767764f17d2171685ab9a71dd5b3e2376a2 /tests/post.yml
parentaa224bfd66ac2c62d22206289dbfd5ea5b4ab09b (diff)
downloadkolla-ansible-478e2cf9c9ebc8d9c9cc2d6d36f542c79501fd14.tar.gz
kolla-ansible-478e2cf9c9ebc8d9c9cc2d6d36f542c79501fd14.zip
Enable multinode scenarios in zuulv3
Another step to migrate to new CI Change-Id: Id9bf9b4b1114f5be66f6c028a0db16d869efeceb Depends-On: Iaacdca31b27b7033ec08499bcea7061b9d3ec279
Diffstat (limited to 'tests/post.yml')
-rw-r--r--tests/post.yml21
1 files changed, 15 insertions, 6 deletions
diff --git a/tests/post.yml b/tests/post.yml
index a92cdcb3d..3f61e435b 100644
--- a/tests/post.yml
+++ b/tests/post.yml
@@ -18,16 +18,25 @@
debug:
msg: "{{ get_logs_result.stdout }}"
- - name: Download logs to executor
+ - name: Download /etc/hosts file to executor
synchronize:
- dest: "{{ zuul.executor.log_root }}/{{ inventory_hostname }}"
+ src: "/etc/hosts"
+ dest: "{{ zuul.executor.log_root }}/{{inventory_hostname }}/"
mode: pull
- src: "{{ logs_dir }}/"
ignore_errors: yes
- - name: Download /etc/hosts file to executor
+ - name: Print all facts
+ copy:
+ content: "{{ hostvars[inventory_hostname] | to_nice_json }}"
+ dest: "/tmp/logs/facts.json"
+
+ - name: dump all iptables rules
+ shell: "iptables-save > /tmp/logs/iptables"
+ become: true
+
+ - name: Download /tmp/logs file to executor
synchronize:
- src: "/etc/hosts"
+ src: "/tmp/logs"
dest: "{{ zuul.executor.log_root }}/{{inventory_hostname }}/"
mode: pull
- ignore_errors: yes
+