correction syntaxe
[lhc/ansible.git] / tasks / config_nginx.yml
index 02ac416..0c61275 100644 (file)
     owner: "root"
     group: "root"
     mode: '640' # or u=rwx,g=r,o=
-  when: SITE != 'nuage' and template_site != 'http'
+  when: SITE != 'nuage' and template_site != 'http' and SITE != 'WP'
 
 - name: Recharger le service nginx
   ansible.builtin.service:
     name: nginx
     state: reloaded
-  when: SITE != 'nuage' and SITE != 'paheko' and template_site == 'http'
+  when: SITE != 'nuage' and SITE != 'paheko' and SITE != 'WP' and template_site == 'http'