style: make ansible-lint happier

This commit is contained in:
VC
2024-07-05 11:53:33 +02:00
parent 30ec08487f
commit a0b23684a5
4 changed files with 42 additions and 34 deletions

View File

@@ -1,28 +1,30 @@
---
- name: install php-fpm
package:
- name: Install php-fpm
ansible.builtin.package:
name: php-fpm
state: present
- name: configure php-fpm
template:
- name: Configure php-fpm
ansible.builtin.template:
src: www.conf.j2
dest: /etc/php/{{ php_version }}/fpm/pool.d/www.conf
mode: 0644
notify:
- restart php-fpm
- Restart php-fpm
- name: configure php
template:
- name: Configure php
ansible.builtin.template:
src: php.ini.j2
dest: /etc/php/{{ php_version }}/fpm/php.ini
mode: 0644
notify:
- restart php-fpm
- Restart php-fpm
- name: install lib for php
package:
- name: Install lib for php
ansible.builtin.package:
name: "php-{{ item }}"
state: present
loop: "{{ php_modules }}"
notify:
- restart php-fpm
- Restart php-fpm