mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-08-01 04:14:42 +00:00
ipaclient/library/ipaclient_setup_nss: Add dnsok for no-sssd compatibility code
dnsok has been used unitialized in the compatilbility code without sssd.
This commit is contained in:
@@ -180,6 +180,7 @@ def main():
|
|||||||
ca_enabled=dict(required=True, type='bool'),
|
ca_enabled=dict(required=True, type='bool'),
|
||||||
mkhomedir=dict(required=False, type='bool'),
|
mkhomedir=dict(required=False, type='bool'),
|
||||||
on_master=dict(required=False, type='bool'),
|
on_master=dict(required=False, type='bool'),
|
||||||
|
dnsok=dict(required=False, type='bool', default=False),
|
||||||
|
|
||||||
enable_dns_updates=dict(required=False, type='bool'),
|
enable_dns_updates=dict(required=False, type='bool'),
|
||||||
all_ip_addresses=dict(required=False, type='bool', default=False),
|
all_ip_addresses=dict(required=False, type='bool', default=False),
|
||||||
@@ -208,6 +209,7 @@ def main():
|
|||||||
ca_enabled = module.params.get('ca_enabled')
|
ca_enabled = module.params.get('ca_enabled')
|
||||||
options.mkhomedir = module.params.get('mkhomedir')
|
options.mkhomedir = module.params.get('mkhomedir')
|
||||||
options.on_master = module.params.get('on_master')
|
options.on_master = module.params.get('on_master')
|
||||||
|
dnsok = module.params.get('dnsok')
|
||||||
|
|
||||||
fstore = sysrestore.FileStore(paths.IPA_CLIENT_SYSRESTORE)
|
fstore = sysrestore.FileStore(paths.IPA_CLIENT_SYSRESTORE)
|
||||||
statestore = sysrestore.StateFile(paths.IPA_CLIENT_SYSRESTORE)
|
statestore = sysrestore.StateFile(paths.IPA_CLIENT_SYSRESTORE)
|
||||||
|
|||||||
@@ -296,6 +296,7 @@
|
|||||||
mkhomedir: "{{ ipaclient_mkhomedir }}"
|
mkhomedir: "{{ ipaclient_mkhomedir }}"
|
||||||
ca_enabled: "{{ result_ipaclient_api.ca_enabled }}"
|
ca_enabled: "{{ result_ipaclient_api.ca_enabled }}"
|
||||||
on_master: "{{ ipaclient_on_master }}"
|
on_master: "{{ ipaclient_on_master }}"
|
||||||
|
dnsok: "{{ result_ipaclient_test.dnso }}"
|
||||||
enable_dns_updates: "{{ ipassd_enable_dns_updates }}"
|
enable_dns_updates: "{{ ipassd_enable_dns_updates }}"
|
||||||
all_ip_addresses: "{{ ipaclient_all_ip_addresses }}"
|
all_ip_addresses: "{{ ipaclient_all_ip_addresses }}"
|
||||||
ip_addresses: "{{ ipaclient_ip_addresses | default(omit) }}"
|
ip_addresses: "{{ ipaclient_ip_addresses | default(omit) }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user