1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00

NGINX play: stop Apache if apache_installed is undefined

This commit is contained in:
root 2020-05-16 19:40:54 -04:00
parent 42d1f1ba21
commit a0a3b01c44

View file

@ -12,7 +12,7 @@
systemd:
name: "{{ apache_service }}" # apache2 or httpd, per /opt/iiab/iiab/vars/<OS>.yml
state: stopped
when: apache_installed | bool
when: apache_installed is defined
#ignore_errors: yes
- name: Install required and helper packages for NGINX