mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Set PHP limits right after PHP reqs/recs, so each role installs smoothly
This commit is contained in:
parent
3dbfabcd8d
commit
2a7eba7297
5 changed files with 20 additions and 20 deletions
|
@ -12,11 +12,6 @@
|
|||
# can arise without warning when WordPress is online, since WordPress ~4.8
|
||||
|
||||
|
||||
- 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
|
||||
when: set_php_limits_done is undefined
|
||||
|
||||
|
||||
# 2021-06-29: PHP modules, covering "RECOMMENDED" and "OPTIONAL" sections here:
|
||||
# https://make.wordpress.org/hosting/handbook/server-environment/
|
||||
- name: Install libsodium23 + 8 PHP packages (run 'php -m' or 'php -i' to verify)
|
||||
|
@ -44,6 +39,11 @@
|
|||
# state: present
|
||||
# when: php_version is version('8.0', '<')
|
||||
|
||||
- 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
|
||||
when: set_php_limits_done is undefined
|
||||
|
||||
|
||||
- name: Delete {{ downloads_dir }}/wordpress.tar.gz if it exists
|
||||
file:
|
||||
path: "{{ downloads_dir }}/wordpress.tar.gz"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue