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:
parent
4e5ddb2c60
commit
66309fa56a
1 changed files with 0 additions and 15 deletions
|
@ -47,21 +47,6 @@
|
||||||
mode: 0664
|
mode: 0664
|
||||||
keep_newer: yes
|
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
|
# - name: Rename /library/wordpress* to /library/wordpress
|
||||||
# shell: if [ ! -d {{ wp_abs_path }} ]; then mv {{ wp_abs_path }}* {{ wp_abs_path }}; fi
|
# shell: if [ ! -d {{ wp_abs_path }} ]; then mv {{ wp_abs_path }}* {{ wp_abs_path }}; fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue