Add a variable to kolla-ansible role for path to passwords.yml
This is the input file kept in $KAYOBE_CONFIG_PATH, rather than the generated file in .
This commit is contained in:
parent
10212674ac
commit
6aef98b142
@ -198,3 +198,4 @@
|
||||
|
||||
roles:
|
||||
- role: kolla-ansible
|
||||
kolla_ansible_passwords_path: "{{ kayobe_config_path }}/kolla/passwords.yml"
|
||||
|
@ -24,6 +24,9 @@ kolla_config_path:
|
||||
# Directory where Kolla custom configuration files will be installed.
|
||||
kolla_node_custom_config_path:
|
||||
|
||||
# Path to kolla-ansible passwords.yml input file.
|
||||
kolla_ansible_passwords_path:
|
||||
|
||||
###############################################################################
|
||||
# Kolla-ansible inventory configuration.
|
||||
|
||||
|
@ -35,8 +35,8 @@
|
||||
|
||||
- name: Ensure the Kolla passwords file exists
|
||||
kolla_passwords:
|
||||
src: "{{ kayobe_config_path }}/kolla/passwords.yml"
|
||||
dest: "{{ kayobe_config_path }}/kolla/passwords.yml"
|
||||
src: "{{ kolla_ansible_passwords_path }}"
|
||||
dest: "{{ kolla_ansible_passwords_path }}"
|
||||
mode: 0640
|
||||
sample: "{{ kolla_ansible_install_dir }}/etc_examples/kolla/passwords.yml"
|
||||
overrides: "{{ kolla_ansible_custom_passwords }}"
|
||||
@ -45,6 +45,6 @@
|
||||
|
||||
- name: Ensure the Kolla passwords file is copied into place
|
||||
copy:
|
||||
src: "{{ kayobe_config_path }}/kolla/passwords.yml"
|
||||
src: "{{ kolla_ansible_passwords_path }}"
|
||||
dest: "{{ kolla_config_path }}/passwords.yml"
|
||||
remote_src: True
|
||||
|
Loading…
x
Reference in New Issue
Block a user