1
0
Fork 0
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:
root 2020-10-16 16:46:19 -04:00
parent 2968a8a20e
commit ca171fbc1c
158 changed files with 2072 additions and 2072 deletions

View file

@ -9,7 +9,7 @@
template:
src: ports.conf.j2
dest: "/etc/{{ apache_service }}/ports.conf"
when: nginx_enabled | bool
when: nginx_enabled
- name: Install /etc/{{ apache_service }}/ports.conf from template 2 of 2 (stock-apache-ports.conf) if not nginx_enabled, to disable Apache port {{ apache_port }} localhost only
template:
@ -32,7 +32,7 @@
daemon_reload: yes
enabled: yes
state: restarted
when: nginx_enabled | bool
when: nginx_enabled
- name: Disable & Stop 'nginx' systemd service, if not nginx_enabled
systemd:

View file

@ -45,7 +45,7 @@
systemd:
name: "php{{ php_version }}-fpm"
state: restarted
#when: nginx_enabled | bool
#when: nginx_enabled
# RECORD NGINX AS INSTALLED