mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Remove "| bool" 1.5yrs later, as Ansible 2.10 changed conditional_bare_variables default
This commit is contained in:
parent
2968a8a20e
commit
ca171fbc1c
158 changed files with 2072 additions and 2072 deletions
|
|
@ -21,7 +21,7 @@
|
|||
- name: Enable IIAB pages via NGINX (e.g. on port 80) if nginx_install
|
||||
include_tasks: roles/nginx/tasks/homepage.yml
|
||||
when: nginx_installed is defined
|
||||
#when: nginx_install | bool
|
||||
#when: nginx_install
|
||||
|
||||
- debug:
|
||||
msg: 'THE 3 ANSIBLE STANZAS BELOW ONLY RUN... when: (nginx_high_php_limits or moodle_install or nextcloud_install or pbx_install or wordpress_install) and nginx_enabled'
|
||||
|
|
@ -63,7 +63,7 @@
|
|||
- { regexp: '^max_execution_time', line: 'max_execution_time = 300 ; default is 30' }
|
||||
- { regexp: '^max_input_time', line: 'max_input_time = 300 ; default is 60' }
|
||||
- { regexp: '^memory_limit', line: 'memory_limit = 512M ; default is 128M / Nextcloud requests 512M' }
|
||||
when: nginx_high_php_limits | bool
|
||||
when: nginx_high_php_limits
|
||||
|
||||
- name: Restart 'php{{ php_version }}-fpm' systemd service
|
||||
systemd:
|
||||
|
|
@ -87,7 +87,7 @@
|
|||
src: 020_apache_poweroff.j2
|
||||
dest: /etc/sudoers.d/020_apache_poweroff
|
||||
mode: '0440'
|
||||
when: apache_allow_sudo | bool
|
||||
when: apache_allow_sudo
|
||||
|
||||
- name: Remove {{ apache_user }} (per variable apache_user) permission to poweroff, removing /etc/sudoers.d/020_apache_poweroff
|
||||
file:
|
||||
|
|
@ -111,7 +111,7 @@
|
|||
systemd:
|
||||
name: nginx
|
||||
state: restarted
|
||||
when: nginx_enabled | bool
|
||||
when: nginx_enabled
|
||||
|
||||
|
||||
# RECORD www_options AS INSTALLED
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue