X-Git-Url: http://git.cyclocoop.org/%27.parametre_url%28generer_action_auteur%28%27charger_plugin%27%2C%20%27supprimer_flux%27%29%2C%27supprimer_flux%27%2C%20%24url%29.%27?a=blobdiff_plain;f=tasks%2Fconfig_paheko.yml;fp=tasks%2Fconfig_paheko.yml;h=2c5748ddeb672038ab458472d4669b29cfb3fa54;hb=d2ef9c4c99e81dc58f3d4346c362eae2c4d7915b;hp=48f1c96f399a7861cd82bc213e631d10ff380cfb;hpb=058c0e0c1ce6fc1fb225fceb18cc8898f9a2a063;p=lhc%2Fansible.git diff --git a/tasks/config_paheko.yml b/tasks/config_paheko.yml index 48f1c96..2c5748d 100644 --- a/tasks/config_paheko.yml +++ b/tasks/config_paheko.yml @@ -8,6 +8,7 @@ - php-sqlite3 - php-intl - php-cli + - imagemagick - php-imagick - php-mbstring - php-gnupg @@ -18,17 +19,6 @@ ansible.builtin.command: phpenmod sqlite3 imagick intl when: php_install.changed -- name: Ajout de l'utilisateur php_SIGLE_SITE - ansible.builtin.user: - name: "php_{{ SIGLE }}_{{ SITE }}" - home: "/etc/php/{{ php_version }}/fpm/{{ TLD }}/{{ DOMAIN }}/{{ SITE }}" - shell: /bin/false - system: true - append: true - create_home: false - password: '!' -# group: "php_{{ SIGLE }}_{{ SITE }}" - - name: Bloc paheko_version when: paheko_version is undefined block: @@ -110,6 +100,7 @@ src: "/home/sites/data/paheko/{{ paheko_version }}/" dest: "/home/sites/data/{{ TLD }}/{{ DOMAIN }}/{{ SITE }}" remote_src: true # because the config file is already in the nextcloud_tmp_path + mode: '2750' - name: Modification du propriétaire group et droits du dossier ansible.builtin.file: @@ -120,14 +111,6 @@ mode: '2750' recurse: true -- name: Boucle d'ajout du user php dans plusieurs groupe - ansible.builtin.user: - name: "php_{{ SIGLE }}_{{ SITE }}" - groups: "{{ item }}" - append: true - loop: - - "site_{{ SIGLE }}_{{ SITE }}" - # - name: Change displayed icon # ansible.builtin.copy: # src: "{{ icon }}"