1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Rename flag to set_php_limits_done (so it runs once at most, per Ansible run)

This commit is contained in:
root 2022-12-29 10:29:01 -05:00
parent 81004687c8
commit eba3225b7c
6 changed files with 7 additions and 7 deletions

View file

@ -14,7 +14,7 @@
- name: "Run roles/www_options/tasks/set-php-limits.yml with 'nginx_high_php_limits: False' by default" - name: "Run roles/www_options/tasks/set-php-limits.yml with 'nginx_high_php_limits: False' by default"
include_tasks: roles/www_options/tasks/set-php-limits.yml include_tasks: roles/www_options/tasks/set-php-limits.yml
when: set_php_limits is undefined when: set_php_limits_done is undefined
- name: Start MariaDB - name: Start MariaDB

View file

@ -19,7 +19,7 @@
- name: "Run roles/www_options/tasks/set-php-limits.yml with 'nginx_high_php_limits: True' by default" - name: "Run roles/www_options/tasks/set-php-limits.yml with 'nginx_high_php_limits: True' by default"
include_tasks: roles/www_options/tasks/set-php-limits.yml include_tasks: roles/www_options/tasks/set-php-limits.yml
when: set_php_limits is undefined when: set_php_limits_done is undefined
# 2021-07-02: Let's monitor & learn from these 2 pages year-by-year: # 2021-07-02: Let's monitor & learn from these 2 pages year-by-year:

View file

@ -42,7 +42,7 @@
- name: "Run roles/www_options/tasks/set-php-limits.yml with 'nginx_high_php_limits: False' by default" - name: "Run roles/www_options/tasks/set-php-limits.yml with 'nginx_high_php_limits: False' by default"
include_tasks: roles/www_options/tasks/set-php-limits.yml include_tasks: roles/www_options/tasks/set-php-limits.yml
when: set_php_limits is undefined when: set_php_limits_done is undefined
# February 2020: See @m-anish's PR #2119 and follow-up PR #2258. # February 2020: See @m-anish's PR #2119 and follow-up PR #2258.

View file

@ -4,7 +4,7 @@
- name: "Run roles/www_options/tasks/set-php-limits.yml with 'nginx_high_php_limits: False' by default" - name: "Run roles/www_options/tasks/set-php-limits.yml with 'nginx_high_php_limits: False' by default"
include_tasks: roles/www_options/tasks/set-php-limits.yml include_tasks: roles/www_options/tasks/set-php-limits.yml
when: set_php_limits is undefined when: set_php_limits_done is undefined
# 2021-08-04: Non-native systemd service 'asterisk.service' (redirects via # 2021-08-04: Non-native systemd service 'asterisk.service' (redirects via

View file

@ -14,7 +14,7 @@
- name: "Run roles/www_options/tasks/set-php-limits.yml with 'nginx_high_php_limits: False' by default" - name: "Run roles/www_options/tasks/set-php-limits.yml with 'nginx_high_php_limits: False' by default"
include_tasks: roles/www_options/tasks/set-php-limits.yml include_tasks: roles/www_options/tasks/set-php-limits.yml
when: set_php_limits is undefined when: set_php_limits_done is undefined
# 2021-06-29: PHP modules, covering "RECOMMENDED" and "OPTIONAL" sections here: # 2021-06-29: PHP modules, covering "RECOMMENDED" and "OPTIONAL" sections here:

View file

@ -89,9 +89,9 @@
name: php{{ php_version }}-fpm name: php{{ php_version }}-fpm
state: restarted state: restarted
- name: "Set 'set_php_limits: True' so set-php-limits.yml runs just once (per Ansible run)" - name: "Set 'set_php_limits_done: True' so set-php-limits.yml runs just once (per Ansible run)"
set_fact: set_fact:
set_php_limits: True set_php_limits_done: True
# - debug: # - debug: