mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-31 03:44:41 +00:00
ipa[server,replica,client]: pylint fixes
This commit is contained in:
@@ -139,7 +139,7 @@ def main():
|
||||
logger.info("Skipping chrony configuration")
|
||||
|
||||
else:
|
||||
ntp_srv_servers = [ ]
|
||||
ntp_srv_servers = []
|
||||
if not options.on_master and options.conf_ntp:
|
||||
# Attempt to sync time with IPA server.
|
||||
# If we're skipping NTP configuration, we also skip the time sync here.
|
||||
@@ -176,5 +176,6 @@ def main():
|
||||
# Done
|
||||
module.exit_json(changed=synced_ntp)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user