Gather facts for openstack_openrc role
The openstack_openrc role need to make use of variables only available if facts are gathered. In this patch we ensure that facts are gathered for both times the role is executed. Change-Id: I327e7e127d4f9022d3fe0643122df37828e9f17d
This commit is contained in:
parent
62d794d042
commit
7f8ee6d2fd
@ -21,7 +21,7 @@
|
||||
# clouds.yaml file is useless until keystone is in place.
|
||||
- name: Implement openrc/clouds.yaml on the designated service host
|
||||
hosts: "{{ openstack_service_setup_host | default('localhost') }}"
|
||||
gather_facts: no
|
||||
gather_facts: "{{ osa_gather_facts | default(True) }}"
|
||||
become: yes
|
||||
tags:
|
||||
- openrc
|
||||
|
@ -16,6 +16,7 @@
|
||||
- name: Setup the utility location(s)
|
||||
hosts: utility_all
|
||||
user: root
|
||||
gather_facts: "{{ osa_gather_facts | default(True) }}"
|
||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||
vars_files:
|
||||
- "defaults/{{ install_method }}_install.yml"
|
||||
|
Loading…
x
Reference in New Issue
Block a user