Donner les permissions sur les multisites
This commit is contained in:
parent
f54a8730d5
commit
a478e20ded
|
@ -11,6 +11,9 @@
|
|||
file:
|
||||
path: "/home/{{ user.name }}/public/html"
|
||||
state: directory
|
||||
owner: "{{ user.name }}"
|
||||
group: "{{ user.name }}"
|
||||
mode: 744
|
||||
when: not publichtml.stat.exists
|
||||
|
||||
- name: webserver-multisite-symlink
|
||||
|
@ -18,6 +21,9 @@
|
|||
path: "/home/{{ user.name }}/public/html/{{ item }}"
|
||||
src: "/home/{{ user.name }}/public_html"
|
||||
state: link
|
||||
owner: "{{ user.name }}"
|
||||
group: "{{ user.name }}"
|
||||
mode: 744
|
||||
loop:
|
||||
- onion
|
||||
- domain
|
||||
|
|
Loading…
Reference in New Issue