Skip to content
Snippets Groups Projects
Commit ca4518a6 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

ansible_ipa_client: Always set options.unattended

This has not been done so far in the ansible_ipa_client, but only in the
modules where it was really needed. But as these places are getting more
with 4.7.90, this setting makes it into the module_utils.
parent 158fdb18
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,6 @@ def main():
os.environ['KRB5CCNAME'] = paths.IPA_DNS_CCACHE
options.ca_cert_file = None
options.unattended = True
options.principal = None
options.force = False
options.password = None
......
......@@ -180,7 +180,6 @@ def main():
sssd = True
options.ca_cert_file = ca_cert_file
options.unattended = True
options.principal = principal
options.force = False
options.password = password
......
......@@ -413,7 +413,6 @@ def main():
# root_logger
options.debug = False
options.unattended = not installer.interactive
if options.domain_name:
options.domain = normalize_hostname(installer.domain_name)
else:
......
......@@ -64,6 +64,7 @@ installer = installer_obj()
# Create options
options = installer
options.interactive = False
options.unattended = not options.interactive
if NUM_VERSION >= 40400:
# IPA version >= 4.4
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment