Skip to content

Commit 138857d

Browse files
committed
dnm: checking job succeeds without default('zuul')
just making sure hostvars['controller-0']['ansible_ssh_user'] exists as expected
1 parent 802b04a commit 138857d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/reproducer/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
# All variables intended for modification should be placed in this file.
1919
# All variables within this role should have a prefix of "cifmw_reproducer"
20-
cifmw_reproducer_controller_user: "{{ hostvars['controller-0']['ansible_ssh_user'] | default('zuul') }}"
20+
cifmw_reproducer_controller_user: "{{ hostvars['controller-0']['ansible_ssh_user'] }}"
2121
cifmw_reproducer_controller_user_dir: "/home/{{ cifmw_reproducer_controller_user }}"
2222
cifmw_reproducer_controller_basedir: "{{ cifmw_reproducer_controller_user_dir }}/ci-framework-data"
2323
cifmw_reproducer_basedir: "{{ cifmw_basedir | default( ansible_user_dir ~ '/ci-framework-data') }}"

0 commit comments

Comments
 (0)