711b7e50d3
This commit adds the gathering for all the facts in each playbook, so to be able to point dynamic overcloud node names and use variables such as "{{ hostvars[item]['ansible_hostname'] }}" to identify the hostname from what's inside the inventory. Change-Id: I9ac6937a641f07f2e75bc764d057f2d1d8ec9bda
11 lines
197 B
YAML
11 lines
197 B
YAML
---
|
|
- name: Gather undercloud and overcloud facts
|
|
hosts: undercloud overcloud
|
|
gather_facts: yes
|
|
|
|
- name: Configure Instance HA
|
|
hosts: undercloud
|
|
gather_facts: no
|
|
roles:
|
|
- instance-ha
|