fix(ansible): audit time sync across systemd-timesyncd and chrony without dbus dependency

This commit is contained in:
2026-11-02 14:05:08 -05:00
parent 003ae80c9c
commit 08d085b95f
11 changed files with 13 additions and 2 deletions

View File

@@ -47,3 +47,4 @@ try:
except Exception as e:
print("AWX Query Error:", e)

View File

@@ -11,3 +11,4 @@ stdin, stdout, stderr = ssh.exec_command("kubectl get secret awx-admin-password
print("ADMIN PASSWORD:\n", stdout.read().decode())
ssh.close()

View File

@@ -17,3 +17,4 @@ with urllib.request.urlopen(req, timeout=10, context=ctx) as r:
print(f"Total Active Problems in Zabbix: {len(problems)}")
for p in problems:
print(f" - [Severity {p['severity']}] {p['name']}")

View File

@@ -36,3 +36,4 @@ print(stdout.read().decode())
print(stderr.read().decode())
ssh.close()

View File

@@ -59,3 +59,4 @@ for nas in nas_devices:
print(f"{nas['name']} is already registered.")
print("All NAS devices registered in Zabbix!")

View File

@@ -68,3 +68,4 @@ for name, ip, user in TARGETS:
ssh.close()
except Exception as e:
print(f" [ERROR] Failed on {name} ({ip}): {e}")

View File

@@ -181,3 +181,4 @@ print(stdout.read().decode())
print(stderr.read().decode())
ssh.close()