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

* Fix bootsrap-os role, failing to create remote_tmp

* use ansible_remote_tmp hostvar
pull/4404/head
Qasim Sarfraz 2019-03-28 13:24:43 +00:00 committed by Kubernetes Prow Robot
parent e9c34fe038
commit f17f4ff963
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@
- name: Create remote_tmp for it is used by another module - name: Create remote_tmp for it is used by another module
file: 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 state: directory
mode: 0700 mode: 0700