mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-08 14:23:11 +00:00
ipaclient_setup_ntp: Fixed NTP config for FreeIPA versions without sync_time
The old name ntpconf has been still used in one place of the NTP configuration for FreeIPA versions that do not provide the sync_time function. Fixes: #76 (Ansible Configure NTP Task)
This commit is contained in:
@@ -154,7 +154,7 @@ def main():
|
||||
ntp_servers = options.ntp_servers
|
||||
|
||||
for s in ntp_servers:
|
||||
synced_ntp = ntpconf.synconce_ntp(s, options.debug)
|
||||
synced_ntp = timeconf.synconce_ntp(s, options.debug)
|
||||
if synced_ntp:
|
||||
break
|
||||
|
||||
|
||||
Reference in New Issue
Block a user