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
This commit is contained in:
Sagi Shnaidman
2018-01-15 18:35:44 +02:00
parent 432614b054
commit 6d9fdaa2c8

View File

@@ -4,6 +4,17 @@
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: