Merge "Add an option to disable the DNS record modification in FreeIPA"
This commit is contained in:
commit
74718f17e4
|
@ -64,6 +64,10 @@ parameters:
|
||||||
default: True
|
default: True
|
||||||
description: Set to true to enroll the base server (computes, controllers)
|
description: Set to true to enroll the base server (computes, controllers)
|
||||||
type: boolean
|
type: boolean
|
||||||
|
IdMModifyDNS:
|
||||||
|
default: True
|
||||||
|
description: Set to false to disable DNS records manipulation in the FreeIPA server.
|
||||||
|
type: boolean
|
||||||
IdMZoneSplitIPv4:
|
IdMZoneSplitIPv4:
|
||||||
default: 1
|
default: 1
|
||||||
description: The level by which the PTR DNS record is split when creating zones.
|
description: The level by which the PTR DNS record is split when creating zones.
|
||||||
|
@ -102,6 +106,7 @@ outputs:
|
||||||
vars:
|
vars:
|
||||||
tripleo_ipa_ptr_zone_split_ipv4: {get_param: IdMZoneSplitIPv4}
|
tripleo_ipa_ptr_zone_split_ipv4: {get_param: IdMZoneSplitIPv4}
|
||||||
tripleo_ipa_ptr_zone_split_ipv6: {get_param: IdMZoneSplitIPv6}
|
tripleo_ipa_ptr_zone_split_ipv6: {get_param: IdMZoneSplitIPv6}
|
||||||
|
when: {get_param: IdMModifyDNS}
|
||||||
environment:
|
environment:
|
||||||
if:
|
if:
|
||||||
- idm_server_provided
|
- idm_server_provided
|
||||||
|
@ -131,17 +136,17 @@ outputs:
|
||||||
path: /etc/ipa/default.conf
|
path: /etc/ipa/default.conf
|
||||||
register: ipa_conf_exists
|
register: ipa_conf_exists
|
||||||
- block:
|
- block:
|
||||||
- name: register as an ipa client
|
- name: register as an ipa client
|
||||||
import_role:
|
import_role:
|
||||||
name: ipaclient
|
name: ipaclient
|
||||||
- name: restart certmonger service
|
- name: restart certmonger service
|
||||||
systemd:
|
systemd:
|
||||||
state: restarted
|
state: restarted
|
||||||
daemon_reload: true
|
daemon_reload: true
|
||||||
name: certmonger.service
|
name: certmonger.service
|
||||||
when:
|
when:
|
||||||
- idm_enroll_base_server|bool
|
- idm_enroll_base_server|bool
|
||||||
- not ipa_conf_exists.stat.exists
|
- not ipa_conf_exists.stat.exists
|
||||||
scale_tasks:
|
scale_tasks:
|
||||||
- when: step|int == 1
|
- when: step|int == 1
|
||||||
tags: down
|
tags: down
|
||||||
|
|
Loading…
Reference in New Issue