Add custom environment files for standalone
This change adds the ability to add additional environment files to the standalone deployment. Change-Id: I469380d5f401ed1aeeb104376d475673da07ccee
This commit is contained in:
parent
f502c85d42
commit
cce534320c
|
@ -34,6 +34,8 @@ Role Variables
|
||||||
|
|
||||||
- standalone_ansible_lint: <'false'> -- Perform ansible lint on the generated ansible playbooks
|
- standalone_ansible_lint: <'false'> -- Perform ansible lint on the generated ansible playbooks
|
||||||
|
|
||||||
|
- standalone_custom_env_files: <'[]'> -- list of additional environment files to be added to the deployment command (do not include the -e)
|
||||||
|
|
||||||
Dependencies
|
Dependencies
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
|
|
@ -26,3 +26,5 @@ standalone_selinux_mode: permissive
|
||||||
standalone_libvirt_type: kvm
|
standalone_libvirt_type: kvm
|
||||||
|
|
||||||
standalone_container_cli: docker
|
standalone_container_cli: docker
|
||||||
|
|
||||||
|
standalone_custom_env_files: []
|
||||||
|
|
|
@ -5,5 +5,8 @@ sudo openstack tripleo deploy \
|
||||||
-r {{ overcloud_templates_path }}/roles/{{ standalone_role }} \
|
-r {{ overcloud_templates_path }}/roles/{{ standalone_role }} \
|
||||||
-e "{{ working_dir }}/containers-prepare-parameters.yaml" \
|
-e "{{ working_dir }}/containers-prepare-parameters.yaml" \
|
||||||
-e "{{ working_dir }}/standalone_parameters.yaml" \
|
-e "{{ working_dir }}/standalone_parameters.yaml" \
|
||||||
|
{% if standalone_custom_env_files %}
|
||||||
|
-e {{ standalone_custom_env_files | join(' -e ') }} \
|
||||||
|
{% endif %}
|
||||||
--output-dir {{ working_dir }} \
|
--output-dir {{ working_dir }} \
|
||||||
--standalone
|
--standalone
|
||||||
|
|
Loading…
Reference in New Issue