1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00

Update install.yml

This commit is contained in:
A Holt 2018-09-23 19:14:36 -04:00 committed by GitHub
parent 4e5ddb2c60
commit 66309fa56a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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