Skip to content

Commit be5cdb0

Browse files
brjackmadanpawlik
authored andcommitted
OSPRH-19986: Replace hardcoded /home/zuul in: bgp scenarios
replaced /home/zuul with {{ ansible_user_dir }} in three locations The goal of this change is to improve flexibility and consistency by replacing hardcoded home paths with variables.
1 parent ea3287c commit be5cdb0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scenarios/reproducers/bgp-l3-xl.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ cifmw_libvirt_manager_configuration:
754754
cifmw_devscripts_config_overrides:
755755
fips_mode: "{{ cifmw_fips_enabled | default(false) | bool }}"
756756
cluster_subnet_v4: "192.172.0.0/16"
757-
network_config_folder: "/home/zuul/netconf"
757+
network_config_folder: "{{ ansible_user_dir }}/netconf"
758758

759759
# Required for egress traffic from pods to the osp_trunk network
760760
cifmw_devscripts_enable_ocp_nodes_host_routing: true
@@ -763,7 +763,7 @@ cifmw_devscripts_enable_ocp_nodes_host_routing: true
763763
# controller-0 as-is and be consumed by the `deploy-va.sh` script.
764764
# Please note, all paths are on the controller-0, meaning managed by the
765765
# Framework. Please do not edit them!
766-
_arch_repo: "/home/zuul/src/github.com/openstack-k8s-operators/architecture"
766+
_arch_repo: "{{ ansible_user_dir }}/src/github.com/openstack-k8s-operators/architecture"
767767
cifmw_architecture_scenario: bgp-l3-xl
768768
cifmw_kustomize_deploy_architecture_examples_path: "examples/dt/"
769769
cifmw_arch_automation_file: "bgp-l3-xl.yaml"
@@ -791,7 +791,7 @@ cifmw_kustomize_deploy_metallb_source_files: >-
791791
pre_deploy:
792792
- name: BGP spines and leaves configuration
793793
type: playbook
794-
source: "/home/zuul/src/github.com/openstack-k8s-operators/ci-framework/playbooks/bgp/prepare-bgp-spines-leaves.yaml"
794+
source: "{{ ansible_user_dir }}/src/github.com/openstack-k8s-operators/ci-framework/playbooks/bgp/prepare-bgp-spines-leaves.yaml"
795795
extra_vars:
796796
num_racks: "{{ num_racks }}"
797797
router_bool: true

0 commit comments

Comments
 (0)