mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-06-10 18:55:53 +00:00
Client: Added version checks for save_state and configure_nisdomain calls
With FreeIPA 4.5 the functions save_state and configure_nisdomain have gotten new options. A version check has been added to ipaextras and ipanss to make sure that the modules are also working with FreeIPA 4.4.
This commit is contained in:
@@ -191,8 +191,11 @@ def main():
|
||||
configure_firefox(options, statestore, domain)
|
||||
|
||||
if not no_nisdomain:
|
||||
configure_nisdomain(
|
||||
options=options, domain=domain, statestore=statestore)
|
||||
if NUM_VERSION < 40500:
|
||||
configure_nisdomain(options=options, domain=domain)
|
||||
else:
|
||||
configure_nisdomain(options=options, domain=domain,
|
||||
statestore=statestore)
|
||||
|
||||
# Cleanup: Remove CCACHE_FILE
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user