From 422651e6fffe8fedae7d222e853228a909b0670d Mon Sep 17 00:00:00 2001 From: Thomas Woerner <twoerner@redhat.com> Date: Tue, 29 Nov 2022 12:58:04 +0100 Subject: [PATCH] ipaclient: No DNS resolver configuration on master The DNS resolver configuration should not happen in the server client part installation where ipaclient_on_master is enabled. --- roles/ipaclient/tasks/install.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/ipaclient/tasks/install.yml b/roles/ipaclient/tasks/install.yml index 034c4419..3efc8b60 100644 --- a/roles/ipaclient/tasks/install.yml +++ b/roles/ipaclient/tasks/install.yml @@ -44,7 +44,8 @@ searchdomains: "{{ ipaserver_domain | default(ipaclient_domain) }}" state: present - when: ipaclient_configure_dns_resolver + when: ipaclient_configure_dns_resolver | bool + and not ipaclient_on_master | bool - name: Install - IPA client test ipaclient_test: -- GitLab