Merge "Add variable for template filename"
This commit is contained in:
commit
8e68625e1b
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
A variable named ``bootstrap_user_variables_template`` has been added
|
||||||
|
to the bootstrap-host role so the user can define the user variable
|
||||||
|
template filename for AIO deployments
|
@ -31,6 +31,9 @@ bootstrap_host_aio_script_path: "{{ playbook_dir }}/../scripts"
|
|||||||
bootstrap_host_user_variables_filename: "user_variables.yml"
|
bootstrap_host_user_variables_filename: "user_variables.yml"
|
||||||
bootstrap_host_user_secrets_filename: "user_secrets.yml"
|
bootstrap_host_user_secrets_filename: "user_secrets.yml"
|
||||||
|
|
||||||
|
# The user variables template to use
|
||||||
|
bootstrap_user_variables_template: "user_variables.{{ bootstrap_host_scenario }}.yml.j2"
|
||||||
|
|
||||||
## Swap memory
|
## Swap memory
|
||||||
# If there is no swap memory present, the bootstrap will create a loopback disk
|
# If there is no swap memory present, the bootstrap will create a loopback disk
|
||||||
# for the purpose of having swap memory available. Swap is required for some of
|
# for the purpose of having swap memory available. Swap is required for some of
|
||||||
|
@ -113,7 +113,7 @@
|
|||||||
|
|
||||||
- name: Set the user_variables
|
- name: Set the user_variables
|
||||||
config_template:
|
config_template:
|
||||||
src: "user_variables.{{ bootstrap_host_scenario }}.yml.j2"
|
src: "{{ bootstrap_user_variables_template }}"
|
||||||
dest: "/etc/openstack_deploy/{{ bootstrap_host_user_variables_filename }}"
|
dest: "/etc/openstack_deploy/{{ bootstrap_host_user_variables_filename }}"
|
||||||
config_overrides: "{{ user_variables_overrides | default({}) }}"
|
config_overrides: "{{ user_variables_overrides | default({}) }}"
|
||||||
config_type: yaml
|
config_type: yaml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user