Skip to content
Snippets Groups Projects
Commit 3af43cdb authored by jurgenhaas's avatar jurgenhaas
Browse files

Change approach to determine current user

parent 81b93382
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@
- name: Ser Permissions for current user
file:
path: '{{ webRoot }}'
owner: '{{ lookup("env","USER") }}'
owner: '{{ ansible_env.SUDO_USER|default("root") }}'
group: root
mode: u+rwX,g+rwX,o+rX
recurse: yes
......
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