From 6185f038b67399224019ba9d751da7e10245634d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Tue, 10 Nov 2020 11:40:21 +0100 Subject: [PATCH] IPA: don't start httpd with systemd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The httpd service should not be started with systemd, the ipa service will start it. If systemd starts it, it will run before IPA is available and KdcProxy will be disabled because it can't reach LDAP. Signed-off-by: Aurélien Bompard --- roles/ipa/server/tasks/main.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/roles/ipa/server/tasks/main.yml b/roles/ipa/server/tasks/main.yml index a5cddc20f9..4c89fd20bc 100644 --- a/roles/ipa/server/tasks/main.yml +++ b/roles/ipa/server/tasks/main.yml @@ -510,3 +510,14 @@ tags: - ipa/server - config + +# The httpd service should not be started with systemd, the ipa service will +# start it. If systemd starts it, it will run before IPA is available and +# KdcProxy will be disabled because it can't reach LDAP. +- name: Disable the httpd service + service: + name: httpd + enabled: no + tags: + - ipa/server + - config