Skip to content
Snippets Groups Projects
Commit f17f4ff9 authored by Qasim Sarfraz's avatar Qasim Sarfraz Committed by Kubernetes Prow Robot
Browse files

Fix bootsrap-os role, failing to create remote_tmp (#4384)

* Fix bootsrap-os role, failing to create remote_tmp

* use ansible_remote_tmp hostvar
parent e9c34fe0
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@
- name: Create remote_tmp for it is used by another module
file:
path: "{{ lookup('config', 'DEFAULT_REMOTE_TMP', on_missing='skip', wantlist=True) | first | default('~/.ansible/tmp') }}"
path: "{{ ansible_remote_tmp | default('~/.ansible/tmp') }}"
state: directory
mode: 0700
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment