ipaclient_setup_sssd: Use proper setting for no_krb5_offline_passwords

options.no_krb5_offline_passwords was set using the not existing role
variable krb5_offline_passwords instead of no_krb5_offline_passwords.
This commit is contained in:
Thomas Woerner
2019-04-26 11:51:06 +02:00
parent 27a26e3a9c
commit 7a617281d7

View File

@@ -163,7 +163,7 @@ def main():
options.preserve_sssd = module.params.get('preserve_sssd') options.preserve_sssd = module.params.get('preserve_sssd')
options.no_krb5_offline_passwords = module.params.get( options.no_krb5_offline_passwords = module.params.get(
'krb5_offline_passwords') 'no_krb5_offline_passwords')
options.krb5_offline_passwords = not options.no_krb5_offline_passwords options.krb5_offline_passwords = not options.no_krb5_offline_passwords
fstore = sysrestore.FileStore(paths.IPA_CLIENT_SYSRESTORE) fstore = sysrestore.FileStore(paths.IPA_CLIENT_SYSRESTORE)