c207520ca5
kolla-ansible can take globals.yml from any directory by using --config-dir argument. So store admin credentials there as well. Not everyone runs kolla-ansible as a root. Change-Id: I0709482ead4b7a67e82796e17f85bde151e71bc0
10 lines
268 B
YAML
10 lines
268 B
YAML
---
|
|
- name: Creating admin openrc file on the deploy node
|
|
hosts: localhost
|
|
become: true
|
|
tasks:
|
|
- template:
|
|
src: "roles/common/templates/admin-openrc.sh.j2"
|
|
dest: "{{ CONFIG_DIR | default('/etc/kolla') }}/admin-openrc.sh"
|
|
run_once: True
|