Add options for setting the webroot owner/group
This commit is contained in:
parent
b95043b4df
commit
8e1af6a2e1
2 changed files with 4 additions and 4 deletions
|
@ -27,8 +27,8 @@
|
|||
ansible.builtin.file:
|
||||
path: "{{ item.documentroot | default(apache2_vhost_documentroot) }}"
|
||||
state: directory
|
||||
owner: {{ item.documentroot_owner | default(apache2_vhost_documentroot_owner) }}
|
||||
group: {{ item.documentroot_group | default(apache2_vhost_documentroot_group) }}
|
||||
owner: "{{ item.documentroot_owner | default(apache2_vhost_documentroot_owner) }}"
|
||||
group: "{{ item.documentroot_group | default(apache2_vhost_documentroot_group) }}"
|
||||
mode: 0755
|
||||
loop: "{{ apache2_sites.values() }}"
|
||||
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
ansible.builtin.file:
|
||||
path: "{{ item.documentroot | default(nginx_vhost_documentroot) }}"
|
||||
state: directory
|
||||
owner: {{ item.documentroot_owner | default(nginx_vhost_documentroot_owner) }}
|
||||
group: {{ item.documentroot_group | default(nginx_vhost_documentroot_group) }}
|
||||
owner: "{{ item.documentroot_owner | default(nginx_vhost_documentroot_owner) }}"
|
||||
group: "{{ item.documentroot_group | default(nginx_vhost_documentroot_group) }}"
|
||||
mode: 0755
|
||||
loop: "{{ nginx_sites.values() }}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue