Browse Source

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 5 years ago
committed by Kubernetes Prow Robot
parent
commit
f17f4ff963
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/bootstrap-os/tasks/main.yml

2
roles/bootstrap-os/tasks/main.yml

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

Loading…
Cancel
Save