ajout du tags sftp
[lhc/ansible.git] / tasks / config_WP.yml
index 684d161..646a2a4 100644 (file)
@@ -3,8 +3,8 @@
     src: "/home/sites/data/wordpress/"
     dest: "/home/sites/data/{{ TLD }}/{{ DOMAIN }}/{{ config_ss_domain }}/"
     remote_src: true # because the copy is from remote host to remote host
-    mode: '754' # or 'u=rwx,g=rx,o=r'
-    owner: "php_{{ SIGLE }}_{{ config_ss_domain }}"
+    mode: '2750' # or 'u=rwx,g=rx,o=r'
+    owner: "site_{{ SIGLE }}_{{ config_ss_domain }}"
     group: "site_{{ SIGLE }}_{{ config_ss_domain }}"
 
 - name: Créer les fichiers spécifiques wp