From 91e660777e0c800b8ac079a21befb8726ae8243e Mon Sep 17 00:00:00 2001 From: A Holt Date: Mon, 24 Sep 2018 12:33:55 -0400 Subject: [PATCH] Update main.yml --- roles/httpd/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/httpd/tasks/main.yml b/roles/httpd/tasks/main.yml index 2d199f952..91698ae62 100644 --- a/roles/httpd/tasks/main.yml +++ b/roles/httpd/tasks/main.yml @@ -73,12 +73,12 @@ # 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? -- name: Raise php.ini limits if using WordPress and/or Moodle intensively +- 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" regexp: "{{ item.regexp }}" line: "{{ item.line }}" - when: apache_raise_php_limits + 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' }