--- - name: Configure PHP ansible.builtin.import_tasks: phpfpm.yml tags: phpfpm - name: Install packages ansible.builtin.import_tasks: packages.yml tags: packages - name: Copy configuration ansible.builtin.template: src: pma.php.j2 dest: "/etc/phpmyadmin/conf.d/{{ inventory_hostname }}.php" mode: "0644" notify: - Stop php-fpm-socket - Stop php-fpm-service - Start php-fpm-socket - Start php-fpm-service