From 96f8f0ef5c19c6b47cf71a30e7b467eb267c851d Mon Sep 17 00:00:00 2001 From: A Holt Date: Sat, 22 May 2021 16:09:54 -0400 Subject: [PATCH 01/16] Clarif nginx_high_php_limits in default_vars.yml --- vars/default_vars.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/default_vars.yml b/vars/default_vars.yml index 6baeccf47..1b855515e 100644 --- a/vars/default_vars.yml +++ b/vars/default_vars.yml @@ -266,7 +266,7 @@ nginx_log_dir: /var/log/nginx nginx_high_php_limits: False # WARNING: Enabling this might cause excess use of RAM/disk or other resources! # SO AFTER INSTALLING IIAB, VERIFY THAT THESE 5 SETTINGS... -# https://github.com/iiab/iiab/blob/master/roles/www_options/tasks/main.yml#L52-L66 +# https://github.com/iiab/iiab/blob/master/roles/www_options/tasks/main.yml#L59-L72 # ...ARE SUITABLE FOR YOUR HARDWARE, for: /etc/php//fpm/php.ini # Make this False to disable http://box/common/services/power_off.php button: From e346670c91a9539490f0ff7e363532ae56e438f5 Mon Sep 17 00:00:00 2001 From: A Holt Date: Sat, 22 May 2021 16:10:00 -0400 Subject: [PATCH 02/16] Clarif nginx_high_php_limits in local_vars_min.yml --- vars/local_vars_min.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/local_vars_min.yml b/vars/local_vars_min.yml index 55e5d2d09..41f16fb2f 100644 --- a/vars/local_vars_min.yml +++ b/vars/local_vars_min.yml @@ -169,7 +169,7 @@ pi_swap_file_size: 1024 nginx_high_php_limits: False # WARNING: Enabling this might cause excess use of RAM/disk or other resources! # SO AFTER INSTALLING IIAB, VERIFY THAT THESE 5 SETTINGS... -# https://github.com/iiab/iiab/blob/master/roles/www_options/tasks/main.yml#L52-L66 +# https://github.com/iiab/iiab/blob/master/roles/www_options/tasks/main.yml#L59-L72 # ...ARE SUITABLE FOR YOUR HARDWARE, for: /etc/php//fpm/php.ini # See also Apache vars {default_language, language_priority} @ top of this file From 23cd9865d63323b7625d0eea21f4f6401f21d22c Mon Sep 17 00:00:00 2001 From: A Holt Date: Sat, 22 May 2021 16:10:05 -0400 Subject: [PATCH 03/16] Clarif nginx_high_php_limits in local_vars_medium.yml --- vars/local_vars_medium.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/local_vars_medium.yml b/vars/local_vars_medium.yml index a1aff75e4..3568b0321 100644 --- a/vars/local_vars_medium.yml +++ b/vars/local_vars_medium.yml @@ -169,7 +169,7 @@ pi_swap_file_size: 1024 nginx_high_php_limits: False # WARNING: Enabling this might cause excess use of RAM/disk or other resources! # SO AFTER INSTALLING IIAB, VERIFY THAT THESE 5 SETTINGS... -# https://github.com/iiab/iiab/blob/master/roles/www_options/tasks/main.yml#L52-L66 +# https://github.com/iiab/iiab/blob/master/roles/www_options/tasks/main.yml#L59-L72 # ...ARE SUITABLE FOR YOUR HARDWARE, for: /etc/php//fpm/php.ini # See also Apache vars {default_language, language_priority} @ top of this file From f7235be8ff92ef2eb2371005de1ccc88f7fc16c2 Mon Sep 17 00:00:00 2001 From: A Holt Date: Sat, 22 May 2021 16:10:10 -0400 Subject: [PATCH 04/16] Clarif nginx_high_php_limits in local_vars_big.yml --- vars/local_vars_big.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/local_vars_big.yml b/vars/local_vars_big.yml index cde0c319d..fb4de082d 100644 --- a/vars/local_vars_big.yml +++ b/vars/local_vars_big.yml @@ -169,7 +169,7 @@ pi_swap_file_size: 1024 nginx_high_php_limits: False # WARNING: Enabling this might cause excess use of RAM/disk or other resources! # SO AFTER INSTALLING IIAB, VERIFY THAT THESE 5 SETTINGS... -# https://github.com/iiab/iiab/blob/master/roles/www_options/tasks/main.yml#L52-L66 +# https://github.com/iiab/iiab/blob/master/roles/www_options/tasks/main.yml#L59-L72 # ...ARE SUITABLE FOR YOUR HARDWARE, for: /etc/php//fpm/php.ini # See also Apache vars {default_language, language_priority} @ top of this file From 7369ef79f6cc94922a1cdd921d2a56d67722dc70 Mon Sep 17 00:00:00 2001 From: A Holt Date: Sat, 22 May 2021 16:42:25 -0400 Subject: [PATCH 05/16] www_options/tasks/install.yml: Mandate nginx_high_php_limits if moodle_install --- roles/www_options/tasks/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/roles/www_options/tasks/main.yml b/roles/www_options/tasks/main.yml index 8bf294bd8..775c8c1b6 100644 --- a/roles/www_options/tasks/main.yml +++ b/roles/www_options/tasks/main.yml @@ -56,7 +56,7 @@ # FYI roles/nginx has already installed package php-fpm, in 3-base-server - - name: Raise 2+2 PHP default values in /etc/php/{{ php_version }}/fpm/php.ini for lightweight use of WordPress/Nextcloud/Moodle/PBX (allow photos/docs up to 100MB, 100s timeouts, but preserve PHP's 128MB RAM limit) + - name: "Enact 'nginx_high_php_limits: False' in /etc/php/{{ php_version }}/fpm/php.ini for lightweight use of WordPress/Nextcloud/PBX (allow photos/docs up to 100MB, 100s timeouts, BUT preserve 2 PHP system defaults: memory_limit = 128M, max_input_vars = 1000)" lineinfile: path: "/etc/php/{{ php_version }}/fpm/php.ini" #path: "/etc/php/{{ php_version }}/{{ apache_service }}/php.ini" @@ -69,7 +69,7 @@ - { regexp: '^max_input_time', line: 'max_input_time = 100 ; default is 60' } - { regexp: '^memory_limit', line: 'memory_limit = 128M ; default is 128M / Nextcloud requests 512M' } - { regexp: '^max_input_vars', line: 'max_input_vars = 1000 ; default is 1000 / Moodle 3.11+ requests 5000' } - when: not nginx_high_php_limits # REMINDER: THIS ENTIRE 3-STANZA BLOCK IS ONLY INVOKED... when: (moodle_install or nextcloud_install or pbx_install or wordpress_install) and nginx_enabled + when: not nginx_high_php_limits and not moodle_install # REMINDER: THIS ENTIRE 3-STANZA BLOCK IS ONLY INVOKED... when: (moodle_install or nextcloud_install or pbx_install or wordpress_install) and nginx_enabled # 2020-03-08: IIAB does not support uninstalling apps, so a 3rd clause # (to reset/restore PHP's defaults) is not necessary at this time. @@ -77,8 +77,8 @@ # COMPARE apache_allow_sudo further below. # WARNING: This might cause excess use of RAM/disk or other resources! - # The 5 values below were chosen by @ericnitschke and @kananigit in ~2018. - - name: Enact nginx_high_php_limits in /etc/php/{{ php_version }}/fpm/php.ini for schools that use WordPress/Nextcloud/Moodle/PBX intensively (allow photos/docs up to 500MB, 300s timeouts, 512MB RAM limit) + # The 5 first values below were chosen by @ericnitschke and @kananigit in ~2018. + - name: "Enact 'nginx_high_php_limits: True' in /etc/php/{{ php_version }}/fpm/php.ini for schools that use WordPress/Moodle/Nextcloud/PBX intensively (allow photos/docs up to 500MB, 300s timeouts, memory_limit = 512M for Nextcloud, max_input_vars = 5000 for Moodle)" lineinfile: path: "/etc/php/{{ php_version }}/fpm/php.ini" #path: "/etc/php/{{ php_version }}/{{ apache_service }}/php.ini" @@ -91,7 +91,7 @@ - { regexp: '^max_input_time', line: 'max_input_time = 300 ; default is 60' } - { regexp: '^memory_limit', line: 'memory_limit = 512M ; default is 128M / Nextcloud requests 512M' } - { regexp: '^max_input_vars', line: 'max_input_vars = 5000 ; default is 1000 / Moodle 3.11+ requests 5000' } - when: nginx_high_php_limits # REMINDER: THIS ENTIRE 3-STANZA BLOCK IS ONLY INVOKED... when: (moodle_install or nextcloud_install or pbx_install or wordpress_install) and nginx_enabled + when: nginx_high_php_limits or moodle_install # REMINDER: THIS ENTIRE 3-STANZA BLOCK IS ONLY INVOKED... when: (moodle_install or nextcloud_install or pbx_install or wordpress_install) and nginx_enabled - name: Restart 'php{{ php_version }}-fpm' systemd service systemd: From b626334a743b13c1d8843183c3f1a410a5d5cc80 Mon Sep 17 00:00:00 2001 From: A Holt Date: Sat, 22 May 2021 16:55:17 -0400 Subject: [PATCH 06/16] Update default_vars.yml --- vars/default_vars.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vars/default_vars.yml b/vars/default_vars.yml index 1b855515e..9905e162f 100644 --- a/vars/default_vars.yml +++ b/vars/default_vars.yml @@ -264,8 +264,9 @@ nginx_log_dir: /var/log/nginx # # For schools that use WordPress/Nextcloud/Moodle/PBX intensively: nginx_high_php_limits: False +# FYI: roles/www_options auto-sets these high limits if 'moodle_install: True' # WARNING: Enabling this might cause excess use of RAM/disk or other resources! -# SO AFTER INSTALLING IIAB, VERIFY THAT THESE 5 SETTINGS... +# SO AFTER INSTALLING IIAB, VERIFY THAT THESE 6 SETTINGS... # https://github.com/iiab/iiab/blob/master/roles/www_options/tasks/main.yml#L59-L72 # ...ARE SUITABLE FOR YOUR HARDWARE, for: /etc/php//fpm/php.ini From 62182865b4bc7cd614794e7ad881f68ce179327b Mon Sep 17 00:00:00 2001 From: A Holt Date: Sat, 22 May 2021 16:56:22 -0400 Subject: [PATCH 07/16] Update local_vars_min.yml --- vars/local_vars_min.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vars/local_vars_min.yml b/vars/local_vars_min.yml index 41f16fb2f..905d74974 100644 --- a/vars/local_vars_min.yml +++ b/vars/local_vars_min.yml @@ -167,8 +167,9 @@ pi_swap_file_size: 1024 # For schools that use WordPress/Nextcloud/Moodle/PBX intensively: nginx_high_php_limits: False +# FYI: roles/www_options auto-sets these high limits if 'moodle_install: True' # WARNING: Enabling this might cause excess use of RAM/disk or other resources! -# SO AFTER INSTALLING IIAB, VERIFY THAT THESE 5 SETTINGS... +# SO AFTER INSTALLING IIAB, VERIFY THAT THESE 6 SETTINGS... # https://github.com/iiab/iiab/blob/master/roles/www_options/tasks/main.yml#L59-L72 # ...ARE SUITABLE FOR YOUR HARDWARE, for: /etc/php//fpm/php.ini From 0b08bbd6f53559746b81d687d9fd9766a44182d2 Mon Sep 17 00:00:00 2001 From: A Holt Date: Sat, 22 May 2021 16:57:35 -0400 Subject: [PATCH 08/16] Update local_vars_medium.yml --- vars/local_vars_medium.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vars/local_vars_medium.yml b/vars/local_vars_medium.yml index 3568b0321..551698db5 100644 --- a/vars/local_vars_medium.yml +++ b/vars/local_vars_medium.yml @@ -167,8 +167,9 @@ pi_swap_file_size: 1024 # For schools that use WordPress/Nextcloud/Moodle/PBX intensively: nginx_high_php_limits: False +# FYI: roles/www_options auto-sets these high limits if 'moodle_install: True' # WARNING: Enabling this might cause excess use of RAM/disk or other resources! -# SO AFTER INSTALLING IIAB, VERIFY THAT THESE 5 SETTINGS... +# SO AFTER INSTALLING IIAB, VERIFY THAT THESE 6 SETTINGS... # https://github.com/iiab/iiab/blob/master/roles/www_options/tasks/main.yml#L59-L72 # ...ARE SUITABLE FOR YOUR HARDWARE, for: /etc/php//fpm/php.ini From ed5db665445b3dbaa84b1d3f301c190586faa546 Mon Sep 17 00:00:00 2001 From: A Holt Date: Sat, 22 May 2021 16:58:55 -0400 Subject: [PATCH 09/16] Update local_vars_big.yml --- vars/local_vars_big.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vars/local_vars_big.yml b/vars/local_vars_big.yml index fb4de082d..e9f5e9a31 100644 --- a/vars/local_vars_big.yml +++ b/vars/local_vars_big.yml @@ -167,8 +167,9 @@ pi_swap_file_size: 1024 # For schools that use WordPress/Nextcloud/Moodle/PBX intensively: nginx_high_php_limits: False +# FYI: roles/www_options auto-sets these high limits if 'moodle_install: True' # WARNING: Enabling this might cause excess use of RAM/disk or other resources! -# SO AFTER INSTALLING IIAB, VERIFY THAT THESE 5 SETTINGS... +# SO AFTER INSTALLING IIAB, VERIFY THAT THESE 6 SETTINGS... # https://github.com/iiab/iiab/blob/master/roles/www_options/tasks/main.yml#L59-L72 # ...ARE SUITABLE FOR YOUR HARDWARE, for: /etc/php//fpm/php.ini From 31a94122e36a0dd7e54465d269c941fe36ab8dba Mon Sep 17 00:00:00 2001 From: A Holt Date: Sat, 22 May 2021 17:09:44 -0400 Subject: [PATCH 10/16] Update default_vars.yml --- vars/default_vars.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/default_vars.yml b/vars/default_vars.yml index 9905e162f..fb47adcd0 100644 --- a/vars/default_vars.yml +++ b/vars/default_vars.yml @@ -267,7 +267,7 @@ nginx_high_php_limits: False # FYI: roles/www_options auto-sets these high limits if 'moodle_install: True' # WARNING: Enabling this might cause excess use of RAM/disk or other resources! # SO AFTER INSTALLING IIAB, VERIFY THAT THESE 6 SETTINGS... -# https://github.com/iiab/iiab/blob/master/roles/www_options/tasks/main.yml#L59-L72 +# https://github.com/iiab/iiab/blob/master/roles/www_options/tasks/main.yml#L59-L94 # ...ARE SUITABLE FOR YOUR HARDWARE, for: /etc/php//fpm/php.ini # Make this False to disable http://box/common/services/power_off.php button: From a3a5df355e1ab8ff2873cef84175fc77427ee094 Mon Sep 17 00:00:00 2001 From: A Holt Date: Sat, 22 May 2021 17:10:15 -0400 Subject: [PATCH 11/16] Update local_vars_min.yml --- vars/local_vars_min.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/local_vars_min.yml b/vars/local_vars_min.yml index 905d74974..2c2a499da 100644 --- a/vars/local_vars_min.yml +++ b/vars/local_vars_min.yml @@ -170,7 +170,7 @@ nginx_high_php_limits: False # FYI: roles/www_options auto-sets these high limits if 'moodle_install: True' # WARNING: Enabling this might cause excess use of RAM/disk or other resources! # SO AFTER INSTALLING IIAB, VERIFY THAT THESE 6 SETTINGS... -# https://github.com/iiab/iiab/blob/master/roles/www_options/tasks/main.yml#L59-L72 +# https://github.com/iiab/iiab/blob/master/roles/www_options/tasks/main.yml#L59-L94 # ...ARE SUITABLE FOR YOUR HARDWARE, for: /etc/php//fpm/php.ini # See also Apache vars {default_language, language_priority} @ top of this file From 8ec9c8c5498d3c15c340cb4e87c50291dfb0a3e6 Mon Sep 17 00:00:00 2001 From: A Holt Date: Sat, 22 May 2021 17:10:41 -0400 Subject: [PATCH 12/16] Update local_vars_medium.yml --- vars/local_vars_medium.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/local_vars_medium.yml b/vars/local_vars_medium.yml index 551698db5..160be65e1 100644 --- a/vars/local_vars_medium.yml +++ b/vars/local_vars_medium.yml @@ -170,7 +170,7 @@ nginx_high_php_limits: False # FYI: roles/www_options auto-sets these high limits if 'moodle_install: True' # WARNING: Enabling this might cause excess use of RAM/disk or other resources! # SO AFTER INSTALLING IIAB, VERIFY THAT THESE 6 SETTINGS... -# https://github.com/iiab/iiab/blob/master/roles/www_options/tasks/main.yml#L59-L72 +# https://github.com/iiab/iiab/blob/master/roles/www_options/tasks/main.yml#L59-L94 # ...ARE SUITABLE FOR YOUR HARDWARE, for: /etc/php//fpm/php.ini # See also Apache vars {default_language, language_priority} @ top of this file From 94c7b63ee58fb9a4ad5220e928a23c4355b45ebe Mon Sep 17 00:00:00 2001 From: A Holt Date: Sat, 22 May 2021 17:11:04 -0400 Subject: [PATCH 13/16] Update local_vars_big.yml --- vars/local_vars_big.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/local_vars_big.yml b/vars/local_vars_big.yml index e9f5e9a31..8e304f80c 100644 --- a/vars/local_vars_big.yml +++ b/vars/local_vars_big.yml @@ -170,7 +170,7 @@ nginx_high_php_limits: False # FYI: roles/www_options auto-sets these high limits if 'moodle_install: True' # WARNING: Enabling this might cause excess use of RAM/disk or other resources! # SO AFTER INSTALLING IIAB, VERIFY THAT THESE 6 SETTINGS... -# https://github.com/iiab/iiab/blob/master/roles/www_options/tasks/main.yml#L59-L72 +# https://github.com/iiab/iiab/blob/master/roles/www_options/tasks/main.yml#L59-L94 # ...ARE SUITABLE FOR YOUR HARDWARE, for: /etc/php//fpm/php.ini # See also Apache vars {default_language, language_priority} @ top of this file From adcfbbc47b0c4b8534c8426b9a6efc7ab3623f75 Mon Sep 17 00:00:00 2001 From: A Holt Date: Sat, 22 May 2021 17:23:00 -0400 Subject: [PATCH 14/16] www_options/tasks/main.yml: Clarif 'nginx_high_php_limits: False' --- roles/www_options/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/www_options/tasks/main.yml b/roles/www_options/tasks/main.yml index 775c8c1b6..301a2de4e 100644 --- a/roles/www_options/tasks/main.yml +++ b/roles/www_options/tasks/main.yml @@ -56,7 +56,7 @@ # FYI roles/nginx has already installed package php-fpm, in 3-base-server - - name: "Enact 'nginx_high_php_limits: False' in /etc/php/{{ php_version }}/fpm/php.ini for lightweight use of WordPress/Nextcloud/PBX (allow photos/docs up to 100MB, 100s timeouts, BUT preserve 2 PHP system defaults: memory_limit = 128M, max_input_vars = 1000)" + - name: "Enact 'nginx_high_php_limits: False' in /etc/php/{{ php_version }}/fpm/php.ini for lightweight use of WordPress/Nextcloud/PBX (allow photos/docs up to 100MB, 100s timeouts, with 2 PHP system defaults: memory_limit = 128M, max_input_vars = 1000)" lineinfile: path: "/etc/php/{{ php_version }}/fpm/php.ini" #path: "/etc/php/{{ php_version }}/{{ apache_service }}/php.ini" From 107cc172c0f407e1aa6772c1c30adda52ace3e83 Mon Sep 17 00:00:00 2001 From: A Holt Date: Sat, 22 May 2021 22:47:48 -0400 Subject: [PATCH 15/16] www_options/tasks/main.yml: 2019-2021 Apache-to-NGINX transition continues, slowly but surely --- roles/www_options/tasks/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/www_options/tasks/main.yml b/roles/www_options/tasks/main.yml index 301a2de4e..7b4909b08 100644 --- a/roles/www_options/tasks/main.yml +++ b/roles/www_options/tasks/main.yml @@ -50,7 +50,7 @@ lxde_present.stat.exists and chromium_present.stat.exists - debug: - msg: 'THE 3 ANSIBLE STANZAS BELOW ONLY RUN... when: (moodle_install or nextcloud_install or pbx_install or wordpress_install) and nginx_enabled' + msg: 'THE 3 ANSIBLE STANZAS BELOW ONLY RUN... when: moodle_install or nextcloud_install or pbx_install or wordpress_install' - block: # 3-STANZA BLOCK BEGINS @@ -69,7 +69,7 @@ - { regexp: '^max_input_time', line: 'max_input_time = 100 ; default is 60' } - { regexp: '^memory_limit', line: 'memory_limit = 128M ; default is 128M / Nextcloud requests 512M' } - { regexp: '^max_input_vars', line: 'max_input_vars = 1000 ; default is 1000 / Moodle 3.11+ requests 5000' } - when: not nginx_high_php_limits and not moodle_install # REMINDER: THIS ENTIRE 3-STANZA BLOCK IS ONLY INVOKED... when: (moodle_install or nextcloud_install or pbx_install or wordpress_install) and nginx_enabled + when: not nginx_high_php_limits and not moodle_install # REMINDER: THIS ENTIRE 3-STANZA BLOCK IS ONLY INVOKED... when: moodle_install or nextcloud_install or pbx_install or wordpress_install # 2020-03-08: IIAB does not support uninstalling apps, so a 3rd clause # (to reset/restore PHP's defaults) is not necessary at this time. @@ -91,14 +91,14 @@ - { regexp: '^max_input_time', line: 'max_input_time = 300 ; default is 60' } - { regexp: '^memory_limit', line: 'memory_limit = 512M ; default is 128M / Nextcloud requests 512M' } - { regexp: '^max_input_vars', line: 'max_input_vars = 5000 ; default is 1000 / Moodle 3.11+ requests 5000' } - when: nginx_high_php_limits or moodle_install # REMINDER: THIS ENTIRE 3-STANZA BLOCK IS ONLY INVOKED... when: (moodle_install or nextcloud_install or pbx_install or wordpress_install) and nginx_enabled + when: nginx_high_php_limits or moodle_install # REMINDER: THIS ENTIRE 3-STANZA BLOCK IS ONLY INVOKED... when: moodle_install or nextcloud_install or pbx_install or wordpress_install - name: Restart 'php{{ php_version }}-fpm' systemd service systemd: name: "php{{ php_version }}-fpm" state: restarted - when: (moodle_install or nextcloud_install or pbx_install or wordpress_install) and nginx_enabled # 3-STANZA BLOCK ENDS + when: moodle_install or nextcloud_install or pbx_install or wordpress_install # 3-STANZA BLOCK ENDS # 'Is a "Rapid Power Off" button possible for low-electricity environments?' From d72900908e69e1abb73114caabec24e26ef579fe Mon Sep 17 00:00:00 2001 From: A Holt Date: Sat, 22 May 2021 23:08:55 -0400 Subject: [PATCH 16/16] moodle/tasks/install.yml: Clarif that nginx_high_php_limits auto-kicks in (when: moodle_install) --- roles/moodle/tasks/install.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/moodle/tasks/install.yml b/roles/moodle/tasks/install.yml index 94ee8077d..89600b196 100644 --- a/roles/moodle/tasks/install.yml +++ b/roles/moodle/tasks/install.yml @@ -1,3 +1,10 @@ +# 2021-05-22: FYI nginx_high_php_limits is effectively now auto-enabled by +# www_options/tasks/main.yml#L81-L94 (as required by Moodle 3.11 with PHP 8) IF +# 'moodle_install: True'. Happens at the end of 4-server-options/tasks/main.yml +# See the 6 settings in /etc/php/{{ php_version }}/fpm/php.ini -- which Moodle +# should take advantage of soon, as it transitions from Apache to Moodle: #2785 + + - name: "Set 'apache_install: True' and 'apache_enabled: True'" set_fact: apache_install: True