diff --git a/roles/ipaclient/library/ipadiscovery.py b/roles/ipaclient/library/ipadiscovery.py
index 24f2e12e4270150bd343250e29058815b3ef412c..396705cfe2528dc2fe9bdc115c11e19490deb645 100644
--- a/roles/ipaclient/library/ipadiscovery.py
+++ b/roles/ipaclient/library/ipadiscovery.py
@@ -515,7 +515,7 @@ def main():
         synced_ntp = False
         # use user specified NTP servers if there are any
         for s in ntp_servers:
-            synced_ntp = timconf.synconce_ntp(s, False)
+            synced_ntp = timeconf.synconce_ntp(s, False)
             if synced_ntp:
                 break
         if not synced_ntp and not ntp_servers: