From fbf714154f45113886261f995da89c501cc482b3 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Wed, 11 Aug 2021 09:50:13 -0500 Subject: [PATCH] nginx - disable apache from starting on boot if present Or there might be a race for port 80 on reboot --- roles/nginx/tasks/install.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/nginx/tasks/install.yml b/roles/nginx/tasks/install.yml index a4b95f0f7..d9d086f9d 100644 --- a/roles/nginx/tasks/install.yml +++ b/roles/nginx/tasks/install.yml @@ -2,6 +2,7 @@ systemd: name: "{{ apache_service }}" # apache2 or httpd, per /opt/iiab/iiab/vars/.yml state: stopped + enabled: no ignore_errors: yes # 'when: apache_installed is defined' insuff b/c mysql's php (etc) can install apache2