style: linting

This commit is contained in:
VC
2024-07-05 11:53:13 +02:00
parent 66830fd2eb
commit 1f28d2242f
76 changed files with 469 additions and 335 deletions

View File

@@ -1 +1,3 @@
---
php_modules: "['opcache', 'mysql', 'mbstring', 'gd']"

View File

@@ -1,4 +1,6 @@
---
- name: restart php-fpm
service:
name: "php{{ php_version }}-fpm"
state: restarted
name: "php{{ php_version }}-fpm"
state: restarted

View File

@@ -1,3 +1,5 @@
---
- name: install php-fpm
package:
name: php-fpm
@@ -5,17 +7,17 @@
- name: configure php-fpm
template:
src: www.conf.j2
dest: /etc/php/{{ php_version }}/fpm/pool.d/www.conf
src: www.conf.j2
dest: /etc/php/{{ php_version }}/fpm/pool.d/www.conf
notify:
- restart php-fpm
- restart php-fpm
- name: configure php
copy:
src: ./files/php.ini
dest: /etc/php/{{ php_version }}/fpm/php.ini
src: ./files/php.ini
dest: /etc/php/{{ php_version }}/fpm/php.ini
notify:
- restart php-fpm
- restart php-fpm
- name: install lib for php
package:
@@ -23,5 +25,4 @@
state: present
loop: "{{ php_modules }}"
notify:
- restart php-fpm
- restart php-fpm