style: make ansible-lint happier
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user