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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user