Disable unbound service when using IPA

The DNS resolution should use the IP server set
up and the forwarder. Unbound should be disabled
to make sure it is not used.

Change-Id: I46b3eb1450bba21a9db0f536a91fffd4a18dbaf2
This commit is contained in:
Ronelle Landy 2020-09-23 17:34:20 -04:00
parent 2f335749c9
commit 8cf1bace27
2 changed files with 12 additions and 0 deletions

View File

@ -73,6 +73,12 @@
"{{ forwarder_address }}"
{%- endif -%}
- name: disable unbound service
become: true
service:
name: unbound
state: stopped
- name: configure FreeIPA
shell: >
ipa-server-install --realm {{ ipa_realm }}

View File

@ -80,6 +80,12 @@
regexp: "^nameserver "
state: absent
- name: disable unbound service
become: true
service:
name: unbound
state: stopped
- name: set search domain
become: true
lineinfile: