tripleo-quickstart-extras/playbooks/scale_nodes_verify.yml
Sorin Sbarnea cc82349363 Adapt code to newer code style (linters)
Makes those files conformant with current linting rules and avoids
linting errors when we need to toch them again.

Previous doing "pre-commit run -a" uncovered these errors, now is no
longer reporting any other errors.

Change-Id: Ie4cf229c8f11c2b55b323eac23c89483b26d3781
2018-11-16 12:42:51 +00:00

22 lines
644 B
YAML

---
# NOTE(hrybacki: inventory regeneration and overcloud validation must be completed in a second playbook. The
# deleted node is removed from the hosts file. However, it still exists in memory and will cause the
# 'ansible-role-tripleo-inventory: regenerate ssh config' task to fail when attempting to acces non-existant host vars
# Re-inventory the overcloud
- name: Inventory the overcloud
hosts: undercloud
gather_facts: true
vars:
inventory: all
roles:
- tripleo-inventory
# Validate the overcloud
- name: Validate the overcloud post-delete-node
hosts: undercloud
gather_facts: false
roles:
- validate-simple