Donner les permissions sur les multisites

This commit is contained in:
southerntofu 2020-04-24 21:41:47 +00:00
parent f54a8730d5
commit a478e20ded
1 changed files with 6 additions and 0 deletions

View File

@ -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