decorrelation SITE et sous domain
[lhc/ansible.git] / tasks / config_pool_php.yml
index 05287b2..970a039 100644 (file)
     owner: "root"
     group: "root"
     mode: '640' # or u=rwx,g=r,o=
-  when: SITE == 'nuage' or SITE == 'paheko' or SITE == 'gestion'
+  when: SITE == 'nuage' or SITE == 'paheko' or SITE == 'WP'
 
 - name: ATTENTION la config php n'a pas été créer
   ansible.builtin.debug:
     msg: "Il n'y a pas de templates php pour votre site, il faudra le créer manuellement"
-  when: SITE != 'nuage' and SITE != 'paheko' and SITE != 'gestion'
-
-- name: recharger PHP service
-  ansible.builtin.service:
-    name: "php{{ php_version }}-fpm"
-    state: reloaded
-  when: SITE != 'nuage' and SITE != 'paheko' and SITE == 'gestion'
+  when: SITE != 'nuage' and SITE != 'paheko' or SITE != 'WP'