Merge "Use ansible_user instead of ANSIBLE_REMOTE_USER env var"

This commit is contained in:
Zuul
2020-07-07 01:20:57 +00:00
committed by Gerrit Code Review

View File

@@ -34,8 +34,8 @@
become: true
file:
path: "{{ ceph_ansible_remote_tmp }}"
owner: "{{ lookup('env','ANSIBLE_REMOTE_USER') | default('tripleo-admin', true) }}"
group: "{{ lookup('env','ANSIBLE_REMOTE_USER') | default('tripleo-admin', true) }}"
owner: "{{ ansible_user | default('tripleo-admin', true) }}"
group: "{{ ansible_user | default('tripleo-admin', true) }}"
mode: "700"
state: directory