mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-08-01 12:24:43 +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
|
ntp_servers = options.ntp_servers
|
||||||
|
|
||||||
for s in 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:
|
if synced_ntp:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user