Skip to content

Commit 29ca82f

Browse files
committed
use ansible_user_dir
Signed-off-by: Matthias Büchse <[email protected]>
1 parent e3632ab commit 29ca82f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

playbooks/pre_cloud.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919

2020
- name: Create local binary dir
2121
ansible.builtin.file:
22-
path: "~/.local/bin"
22+
path: "{{ ansible_user_dir}}/.local/bin"
2323
state: directory
2424
recurse: true
2525

2626
- name: Install Sonobuoy
2727
ansible.builtin.shell:
2828
curl -L {{ sonobuoy_tar_gz_url | trim | quote }} | tar xz sonobuoy
2929
args:
30-
chdir: "~/.local/bin/"
30+
chdir: "{{ ansible_user_dir}}/.local/bin/"
3131
creates: sonobuoy
3232
when: kaas | bool
3333

0 commit comments

Comments
 (0)