mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-14 21:42:17 +00:00
server install force and allow_zone_overlap fixes
force and allow_zone_overlap options were missing from a couple places. Signed-off-by: Scott Poore <spoore@redhat.com>
This commit is contained in:
@@ -33,7 +33,7 @@ ANSIBLE_METADATA = {
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: ipaserver_prepare
|
||||
short description:
|
||||
short description:
|
||||
description:
|
||||
options:
|
||||
dm_password:
|
||||
@@ -81,6 +81,7 @@ def main():
|
||||
ansible_module = AnsibleModule(
|
||||
argument_spec = dict(
|
||||
### basic ###
|
||||
force=dict(required=False, type='bool', default=False),
|
||||
dm_password=dict(required=True, no_log=True),
|
||||
password=dict(required=True, no_log=True),
|
||||
ip_addresses=dict(required=False, type='list', default=[]),
|
||||
@@ -130,6 +131,7 @@ def main():
|
||||
|
||||
# set values ####################################################
|
||||
|
||||
options.force = ansible_module.params.get('force')
|
||||
options.dm_password = ansible_module.params.get('dm_password')
|
||||
options.admin_password = ansible_module.params.get('password')
|
||||
options.ip_addresses = ansible_module_get_parsed_ip_addresses(
|
||||
@@ -155,7 +157,7 @@ def main():
|
||||
options.subject_base = ansible_module.params.get('subject_base')
|
||||
options.ca_subject = ansible_module.params.get('ca_subject')
|
||||
### dns ###
|
||||
options.allow_zone_overlap= ansible_module.params.get('allow_zone_overlap')
|
||||
options.allow_zone_overlap = ansible_module.params.get('allow_zone_overlap')
|
||||
options.reverse_zones = ansible_module.params.get('reverse_zones')
|
||||
options.no_reverse = ansible_module.params.get('no_reverse')
|
||||
options.auto_reverse = ansible_module.params.get('auto_reverse')
|
||||
|
||||
Reference in New Issue
Block a user