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:
Alex Schultz 2018-11-01 12:01:34 -06:00 committed by Marios Andreou
parent f502c85d42
commit cce534320c
3 changed files with 7 additions and 0 deletions

View File

@ -34,6 +34,8 @@ Role Variables
- 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
------------

View File

@ -26,3 +26,5 @@ standalone_selinux_mode: permissive
standalone_libvirt_type: kvm
standalone_container_cli: docker
standalone_custom_env_files: []

View File

@ -5,5 +5,8 @@ sudo openstack tripleo deploy \
-r {{ overcloud_templates_path }}/roles/{{ standalone_role }} \
-e "{{ working_dir }}/containers-prepare-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 }} \
--standalone