Skip to content

Commit

Permalink
Use global service variables
Browse files Browse the repository at this point in the history
Instead of overriding each service separatelly it might make
sense for deployers to define some higher level variable that
will be used first or fallback to default variable.

Change-Id: I0b0fdd8f811af07f112d717879a77d05a36403ed
  • Loading branch information
Dmitriy Rabotyagov committed Jan 8, 2021
1 parent fc31f37 commit 81fad9b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.

# Installation method
mistral_install_method: "source"
mistral_install_method: "{{ service_install_method | default('source') }}"
mistral_venv_python_executable: "{{ openstack_venv_python_executable | default('python2') }}"

# Operating system user & groups
Expand All @@ -25,7 +25,7 @@ mistral_system_comment: Mistral Daemons
mistral_system_user_home: /var/lib/mistral

# Distribution deployment
mistral_package_state: latest
mistral_package_state: "{{ package_state | default('latest') }}"

# Source package builds
mistral_git_repo: https://opendev.org/openstack/mistral
Expand Down Expand Up @@ -116,7 +116,7 @@ mistral_db_setup_python_interpreter: "{{ openstack_db_setup_python_interpreter |
mistral_galera_address: "{{ galera_address | default('127.0.0.1') }}"
mistral_galera_database: mistral
mistral_galera_user: mistral
mistral_galera_port: 3306
mistral_galera_port: "{{ galera_port | default('3306') }}"

# Configuration options
mistral_debug: "{{ debug | default(false) }}"
Expand All @@ -138,13 +138,13 @@ mistral_service_setup_host_python_interpreter: "{{ openstack_service_setup_host_
mistral_service_name: mistral
mistral_service_type: workflowv2
mistral_service_description: OpenStack Workflow service
mistral_service_in_ldap: false
mistral_service_in_ldap: "{{ service_ldap_backend_enabled | default(False) }}"
mistral_service_user_domain_id: default
mistral_service_user_name: mistral
mistral_service_project_domain_id: default
mistral_service_project_name: service
mistral_role_name: admin
mistral_service_region: RegionOne
mistral_service_region: "{{ service_region | default('RegionOne') }}"
mistral_service_proto: http
mistral_service_publicuri_proto: "{{ openstack_service_publicuri_proto | default(mistral_service_proto) }}"
mistral_service_publicurl: "{{ mistral_service_publicuri_proto }}://{{ external_lb_vip_address }}:{{ mistral_service_port }}/v2"
Expand Down

0 comments on commit 81fad9b

Please sign in to comment.