From 66309fa56a693725bcf3268030194fa9a9eabde1 Mon Sep 17 00:00:00 2001 From: A Holt Date: Sun, 23 Sep 2018 19:14:36 -0400 Subject: [PATCH] Update install.yml --- roles/wordpress/tasks/install.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/roles/wordpress/tasks/install.yml b/roles/wordpress/tasks/install.yml index 57d36b244..9a51aa587 100644 --- a/roles/wordpress/tasks/install.yml +++ b/roles/wordpress/tasks/install.yml @@ -47,21 +47,6 @@ mode: 0664 keep_newer: yes -# For schools that use WordPress intensively. WARNING: Enabling this (might) -# cause excess use of RAM or other resources? github.com/iiab/iiab/issues/1147 -- name: Raise php.ini limits in schools that use WordPress intensively - lineinfile: - path: "/etc/php/{{ php_version }}/{{ apache_service }}/php.ini" - regexp: "{{ item.regexp }}" - line: "{{ item.line }}" - when: wordpress_raise_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: '^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' } - # - name: Rename /library/wordpress* to /library/wordpress # shell: if [ ! -d {{ wp_abs_path }} ]; then mv {{ wp_abs_path }}* {{ wp_abs_path }}; fi