X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=tasks%2Fconfig_pool_php.yml;h=970a039e0a8de7fc93d2182a02519d6242db0c00;hb=d2ef9c4c99e81dc58f3d4346c362eae2c4d7915b;hp=05287b26559f98d0f38bb22a040eef6777e6318b;hpb=058c0e0c1ce6fc1fb225fceb18cc8898f9a2a063;p=lhc%2Fansible.git diff --git a/tasks/config_pool_php.yml b/tasks/config_pool_php.yml index 05287b2..970a039 100644 --- a/tasks/config_pool_php.yml +++ b/tasks/config_pool_php.yml @@ -71,15 +71,9 @@ 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'