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.
This commit is contained in:
Thomas Woerner
2019-06-21 11:58:57 +02:00
parent 158fdb1876
commit ca4518a623
4 changed files with 1 additions and 3 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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:

View File

@@ -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