diff --git a/tasks/main.yml b/tasks/main.yml index 9e55061..b50f8c9 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -5,8 +5,9 @@ ansible.builtin.file: state: directory path: "{{ item }}" - mode: 0755 - owner: "{{ ansible_user_id }}" + mode: '0755' + owner: "{{ ansible_effective_user_id }}" + group: "{{ ansible_effective_group_id }}" with_items: - "{{ authentik_volume_media }}" - "{{ authentik_volume_certs }}"