Skip to content

Commit

Permalink
Add hypervisor param to shiftstack playbook execution
Browse files Browse the repository at this point in the history
For being able to resolve shift-on-stack apps endpoints (routes)
hostnames from RHOSO pods it's required to add the DNS record entry
in then dnsmasq service running on the hypervisor.
It needs to be done after shift-on-stack cluster is installed as
the installer is creating the floating IP for the apps endpoints,
and the FIP is not known in advance.
For that purpose the cifmw_target_host param is passed so the playbook
running on the shiftstackclient pod is able to reach the hypervisor.
  • Loading branch information
eurijon committed Dec 23, 2024
1 parent 8462e7d commit 2748acd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion roles/shiftstack/tasks/test_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@
command: >-
source .bashrc &&
cd shiftstack-qa &&
ansible-navigator run playbooks/{{ cifmw_shiftstack_run_playbook }} -e @jobs_definitions/{{ testconfig }} -e ocp_cluster_name={{ cifmw_shiftstack_cluster_name }} -e user_cloud={{ cifmw_shiftstack_project_name }}
ansible-navigator run playbooks/{{ cifmw_shiftstack_run_playbook }}
-e @jobs_definitions/{{ testconfig }}
-e ocp_cluster_name={{ cifmw_shiftstack_cluster_name }}
-e user_cloud={{ cifmw_shiftstack_project_name }}
-e hypervisor={{ cifmw_target_host }}
ansible.builtin.include_tasks: exec_command_in_pod.yml

rescue:
Expand Down

0 comments on commit 2748acd

Please sign in to comment.