--- # Remarque : php 8.2 pour Debian Bookworm - name: Installer PHP et extensions pour WordPress ansible.builtin.apt: name: - php8.2 - php8.2-fpm - php8.2-phar # for wp-cli - php8.2-curl # for wp-cli - php8.2-mysqli # for WordPress/MySQL - php8.2-iconv # for WordPress - php8.2-gd # for WordPress - php8.2-imagick - php8.2-intl - php8.2-mbstring - php8.2-zip - php8.2-dom state: present - name: Mettre en place une configuration PHP personnalisée ansible.builtin.template: src: php.ini.j2 dest: /etc/php/8.2/fpm/php.ini notify: restart php-fpm