From 0e86b9da9e688443fea84f763bd66802ec8f6f24 Mon Sep 17 00:00:00 2001 From: A Holt Date: Wed, 7 Nov 2018 14:14:23 -0500 Subject: [PATCH 1/6] Update main.yml --- roles/httpd/tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/httpd/tasks/main.yml b/roles/httpd/tasks/main.yml index 81f8e3c33..740a93839 100644 --- a/roles/httpd/tasks/main.yml +++ b/roles/httpd/tasks/main.yml @@ -62,7 +62,7 @@ #- { src: 'php.ini.j2', dest: '/etc/php.ini', mode: '0644' } # @jvonau suggests removing this in https://github.com/iiab/iiab/issues/1147 # For schools that use WordPress and/or Moodle intensively. See iiab/iiab #1147 -# WARNING: Enabling this (might) cause excess use of RAM or other resources? +# WARNING: Enabling this might cause excess use of RAM/disk or other resources! - name: Enact high limits in /etc/php/{{ php_version }}/{{ apache_service }}/php.ini if using WordPress and/or Moodle intensively lineinfile: path: "/etc/php/{{ php_version }}/{{ apache_service }}/php.ini" @@ -70,8 +70,8 @@ line: "{{ item.line }}" when: apache_high_php_limits with_items: - - { regexp: '^upload_max_filesize', line: 'upload_max_filesize = 64M ; default is 2M' } - - { regexp: '^post_max_size', line: 'post_max_size = 128M ; default is 8M' } + - { regexp: '^upload_max_filesize', line: 'upload_max_filesize = 500M ; default is 2M' } + - { regexp: '^post_max_size', line: 'post_max_size = 500M ; default is 8M' } - { regexp: '^memory_limit', line: 'memory_limit = 256M ; default is 128M' } - { regexp: '^max_execution_time', line: 'max_execution_time = 300 ; default is 30' } - { regexp: '^max_input_time', line: 'max_input_time = 300 ; default is 60' } From 39f453daf066c6d02827092d50c07d3b32397142 Mon Sep 17 00:00:00 2001 From: A Holt Date: Wed, 7 Nov 2018 14:14:51 -0500 Subject: [PATCH 2/6] Update main.yml --- roles/httpd/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/httpd/defaults/main.yml b/roles/httpd/defaults/main.yml index 306e715b6..845d7abeb 100644 --- a/roles/httpd/defaults/main.yml +++ b/roles/httpd/defaults/main.yml @@ -2,5 +2,5 @@ apache_allow_sudo: True # For schools that use WordPress and/or Moodle intensively. See iiab/iiab #1147 -# WARNING: Enabling this (might) cause excess use of RAM or other resources? +# WARNING: Enabling this might cause excess use of RAM/disk or other resources! apache_high_php_limits: False From 0be2fae9529cc62ac01a58284275b84034f747a3 Mon Sep 17 00:00:00 2001 From: A Holt Date: Wed, 7 Nov 2018 14:16:50 -0500 Subject: [PATCH 3/6] 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 067b2f72f..bb30364f1 100644 --- a/vars/default_vars.yml +++ b/vars/default_vars.yml @@ -188,7 +188,7 @@ exFAT_enabled: True # Make this False to disable http://box/common/services/power_off.php button: apache_allow_sudo: True # For schools that use WordPress and/or Moodle intensively, see iiab/iiab #1147 -# WARNING: Enabling this (might) cause excess use of RAM or other resources? +# WARNING: Enabling this might cause excess use of RAM/disk or other resources! apache_high_php_limits: False # SEE ALSO VARIABLES NEAR TOP OF THIS FILE: default_language, language_priority From e5cd9726a27b72b45495d4bbb67457752cad235c Mon Sep 17 00:00:00 2001 From: A Holt Date: Wed, 7 Nov 2018 14:17:12 -0500 Subject: [PATCH 4/6] 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 16511c97a..8baeaba5f 100644 --- a/vars/local_vars_min.yml +++ b/vars/local_vars_min.yml @@ -96,7 +96,7 @@ openvpn_handle: "" # Make this False to disable http://box/common/services/power_off.php button: apache_allow_sudo: True # For schools that use WordPress and/or Moodle intensively, see iiab/iiab #1147 -# WARNING: Enabling this (might) cause excess use of RAM or other resources? +# WARNING: Enabling this might cause excess use of RAM/disk or other resources! apache_high_php_limits: False # SEE ALSO VARIABLES NEAR TOP OF THIS FILE: default_language, language_priority From 8def8962b681e06aea6d2a85b4d3a9b93497657b Mon Sep 17 00:00:00 2001 From: A Holt Date: Wed, 7 Nov 2018 14:17:30 -0500 Subject: [PATCH 5/6] 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 c024cfe4d..97384ddd4 100644 --- a/vars/local_vars_medium.yml +++ b/vars/local_vars_medium.yml @@ -96,7 +96,7 @@ openvpn_handle: "" # Make this False to disable http://box/common/services/power_off.php button: apache_allow_sudo: True # For schools that use WordPress and/or Moodle intensively, see iiab/iiab #1147 -# WARNING: Enabling this (might) cause excess use of RAM or other resources? +# WARNING: Enabling this might cause excess use of RAM/disk or other resources! apache_high_php_limits: False # SEE ALSO VARIABLES NEAR TOP OF THIS FILE: default_language, language_priority From 6b7e6c9211accd94ec8c78d20e3d68aab3b1205a Mon Sep 17 00:00:00 2001 From: A Holt Date: Wed, 7 Nov 2018 14:17:48 -0500 Subject: [PATCH 6/6] 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 2cc707ec2..6ed60224f 100644 --- a/vars/local_vars_big.yml +++ b/vars/local_vars_big.yml @@ -96,7 +96,7 @@ openvpn_handle: "" # Make this False to disable http://box/common/services/power_off.php button: apache_allow_sudo: True # For schools that use WordPress and/or Moodle intensively, see iiab/iiab #1147 -# WARNING: Enabling this (might) cause excess use of RAM or other resources? +# WARNING: Enabling this might cause excess use of RAM/disk or other resources! apache_high_php_limits: False # SEE ALSO VARIABLES NEAR TOP OF THIS FILE: default_language, language_priority