Skip to content

Commit 02e6981

Browse files
amartyasinharebtoor
authored andcommitted
[cifmw_setup] Add default value of cifmw_architecture_repo
Since cifmw_setup role is often used in playbooks outside of ci-framework, it causes group_vars to not be included and causing missing variables error. Signed-off-by: Amartya Sinha <[email protected]>
1 parent fbb79d3 commit 02e6981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/cifmw_setup/tasks/deploy_architecture.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
cifmw_architecture_automation_file: >-
147147
{{
148148
(
149-
cifmw_architecture_repo,
149+
cifmw_architecture_repo | default(ansible_user_dir + '/src/github.com/openstack-k8s-operators/architecture'),
150150
'automation/vars',
151151
cifmw_architecture_scenario~'.yaml'
152152
) | ansible.builtin.path_join

0 commit comments

Comments
 (0)