tripleo-quickstart-extras/playbooks/collect-logs.yml
Sagi Shnaidman 6d9fdaa2c8 Revert "Revert "Rerun inventory before collect-logs""
This reverts commit 44ee46e826.

'timeout' in deploy command doesn't work always and we can't
realy on it that it will stop deployment in time and allow
openstack nodes to be added to inventory.

Change-Id: I744aea580d9f22a930a86772847c9665c012dd2a
Related-Bug: #1743436
2018-01-15 18:28:53 +00:00

27 lines
524 B
YAML

---
- name: Run dump vars on all!localhost
hosts: all:!localhost:!127.0.0.2
roles:
- dump_vars
- name: Ensure the overcloud nodes are added to the generated inventory
hosts: undercloud
gather_facts: yes
tags:
- collect-logs
vars:
inventory: all
roles:
- tripleo-inventory
ignore_errors: yes
- name: Collect logs
hosts: all:!localhost:!127.0.0.2
roles:
- collect-logs
- name: Create docs, publish logs
hosts: localhost
roles:
- {role: collect-logs, artcl_collect: false }