73cb007ab9
Change-Id: If89bb28fa2e8cc615da21893201cc438d5b6ff05 Story: 2009323 Task: 43745
13 lines
409 B
YAML
13 lines
409 B
YAML
---
|
|
- name: Read the admin OpenStack API environment file
|
|
slurp:
|
|
src: "{{ kolla_config_path }}/admin-openrc.sh"
|
|
register: admin_openrc
|
|
when: (kolla_config_path ~ '/admin-openrc.sh') is exists
|
|
|
|
- name: Ensure a public OpenStack API environment file exists
|
|
template:
|
|
src: public-openrc.sh.j2
|
|
dest: "{{ public_openrc_kolla_config_path }}/public-openrc.sh"
|
|
when: admin_openrc is not skipped
|