Fix quoting

This commit is contained in:
phil 2023-06-10 23:45:48 +02:00
parent 92ca77f503
commit 61299bb763
3 changed files with 3 additions and 4 deletions

View file

@ -22,4 +22,3 @@
- name: Monitoring tasks
ansible.builtin.import_tasks: monitoring.yml
tags: monitoring

View file

@ -18,7 +18,7 @@
state: touch
owner: "{{ php_user }}"
group: "{{ php_user }}"
mode: 0644
mode: "0644"
# Pool configuration for initial use
# Don't override local changes
@ -27,7 +27,7 @@
src: fpmpool.cfg
dest: "/etc/php/{{ php_version.stdout }}/fpm/pool.d/{{ php_user }}.cfg"
force: false
mode: 0644
mode: "0644"
notify:
- stop php-fpm-socket
- stop php-fpm-service

View file

@ -7,7 +7,7 @@ check process php-fpm with pidfile /run/php/php{{ php_version.stdout }}-fpm.pid
if failed unixsocket /run/php/php{{ php_version.stdout }}-fpm.sock for 3 cycles then restart
if 3 restarts within 5 cycles then timeout
{% if apache2 in ansible_facts.packages %}
{% if "apache2" in ansible_facts.packages %}
check file basedir with path /var/log/apache2/error.log
if match "open_basedir restriction in effect" then alert
{% endif %}