mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-25 00:44:42 +00:00
Merge pull request #1375 from t-woerner/ipaclient_client_dns_new_arg_statestore
ipaclient: client_dns has new statestore arg with IPA change e6445b8
This commit is contained in:
@@ -388,6 +388,10 @@ def main():
|
|||||||
tasks.insert_ca_certs_into_systemwide_ca_store(ca_certs)
|
tasks.insert_ca_certs_into_systemwide_ca_store(ca_certs)
|
||||||
|
|
||||||
if not options.on_master:
|
if not options.on_master:
|
||||||
|
argspec_client_dns = getargspec(client_dns)
|
||||||
|
if "statestore" in argspec_client_dns.args:
|
||||||
|
client_dns(cli_server[0], hostname, options, statestore)
|
||||||
|
else:
|
||||||
client_dns(cli_server[0], hostname, options)
|
client_dns(cli_server[0], hostname, options)
|
||||||
|
|
||||||
if hasattr(paths, "SSH_CONFIG_DIR"):
|
if hasattr(paths, "SSH_CONFIG_DIR"):
|
||||||
|
|||||||
Reference in New Issue
Block a user