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

* Fix bootsrap-os role, failing to create remote_tmp

* use ansible_remote_tmp hostvar
This commit is contained in:
Qasim Sarfraz 2019-03-28 13:24:43 +00:00 committed by Kubernetes Prow Robot
parent e9c34fe038
commit f17f4ff963

View file

@ -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