php: add new variable to disable oveeriding settings of php-fpm default pool (www)
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2624|6|2618|10|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/329//ansiblelint">Evolix » ansible-roles » unstable #329</a>
gitea/ansible-roles/pipeline/head This commit looks good

This commit is contained in:
Ludovic Poujol 2023-08-28 17:08:33 +02:00
parent b8b48bbcb9
commit e71cffd8fd
3 changed files with 12 additions and 8 deletions

View file

@ -33,6 +33,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* fail2ban: add default variable fail2ban_dbpurgeage_default
* fail2ban: add variable fail2ban_sshd_port to configure sshd port
* nagios-nrpe: add a NRPE check-local command with completion.
* php: add new variable to disable oveeriding settings of php-fpm default pool (www)
* policy_pam: New role allowing to manage password policy with pam_pwquality & pam_pwhistory
* userlogrotate: add a userlogpurge script disabled by default
* userlogrotate: new version, with separate conf file

View file

@ -1,12 +1,13 @@
---
php_sury_enable: False
php_fpm_enable: False
php_apache_enable: False
php_symfony_requirements: False
php_sury_enable: false
php_fpm_enable: false
php_apache_enable: false
php_symfony_requirements: false
php_modules_mysqlnd: False
php_modules_mysqlnd: false
php_fpm_remove_default_pool: False
php_fpm_remove_default_pool: false
php_fpm_override_default_pool: true
apt_keyring_dir: "{{ ansible_distribution_major_version is version('12', '<') | ternary('/etc/apt/trusted.gpg.d', '/etc/apt/keyrings') }}"

View file

@ -35,7 +35,7 @@
force: false
notify: "restart {{ php_fpm_service_name }}"
- name: Set default PHP FPM values
- name: Set default pool (www) config values
community.general.ini_file:
dest: "{{ php_fpm_default_pool_file }}"
section: www
@ -57,7 +57,9 @@
- { option: "pm.status_path", value: "/fpm_status" }
- { option: "request_terminate_timeout", value: "60s" }
notify: "restart {{ php_fpm_service_name }}"
when: ansible_distribution_major_version is version('9', '>=')
when:
- ansible_distribution_major_version is version('9', '>=')
- php_fpm_override_default_pool
- name: Custom PHP FPM values
ansible.builtin.copy: