Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge "Pass proper VIPs on Standalone"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Aug 18, 2020
2 parents f304c00 + 63c1365 commit a182298
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions roles/standalone/defaults/main.yml
Expand Up @@ -3,6 +3,7 @@ standalone_config: standalone_config.yaml.j2
standalone_network: 192.168.24
standalone_network_prefix: 24
standalone_ip: 192.168.24.1
standalone_ha_control_virtual_ip: 192.168.24.3
standalone_interface: br-ex
standalone_hostname: standalone.localdomain

Expand Down
7 changes: 6 additions & 1 deletion roles/standalone/tasks/main.yml
Expand Up @@ -265,6 +265,10 @@
include_role:
name: validate-perf

- name: Check whether control plane defaults to HA
set_fact:
tripleo_deploy_ha_control_plane: "{{ release not in ['newton', 'ocata', 'pike', 'queens', 'rocky', 'stein', 'train'] }}"

- name: Run standalone via tripleo-operator-ansible
collections:
- tripleo.operator
Expand All @@ -274,7 +278,8 @@
tripleo_deploy_debug: true
tripleo_deploy_debug_arg: "{{ standalone_tripleo_deploy_debug_arg }}"
tripleo_deploy_local_ip: "{{ standalone_ip }}/{{ standalone_network_prefix }}"
tripleo_deploy_control_virtual_ip: "{{ standalone_control_virtual_ip|default() }}"
tripleo_deploy_control_virtual_ip: "{{ standalone_control_virtual_ip|default() or \
(standalone_ha_control_virtual_ip|default() if tripleo_deploy_ha_control_plane) }}"
tripleo_deploy_roles_file: "{{ overcloud_templates_path }}/roles/{{ standalone_role }}"
tripleo_deploy_output_dir: "{{ working_dir }}"
tripleo_deploy_environment_files: |-
Expand Down

0 comments on commit a182298

Please sign in to comment.