Test new stuff

This commit is contained in:
Johan Wassberg 2024-11-05 12:43:52 +01:00
parent 13a0141bbf
commit 7a0220b873
Signed by: jocar
GPG key ID: BE4EC2EEADF2C31B

View file

@ -5,6 +5,7 @@ import hashlib
import os
import os.path
import sys
import re
import socket
@ -115,11 +116,9 @@ def main():
if OS_INFO["VERSION_CODENAME"] == "bullseye":
pass
# if host_info:
# if "internal-sto1-test-backup-1.geteduroam.sunet.se" in host_info["fqdn"]:
# modules["sunet"]["tag"] = "jocar-mariadb-backup-2*"
# if "internal-sto1-test-db-1.geteduroam.sunet.se" in host_info["fqdn"]:
# modules["sunet"]["tag"] = "jocar-mariadb-backup-2*"
if host_info:
if re.match('^internal-(sto1|sto3|dco)-test-radius-[1-3].geteduroam.sunet.se$', host_info["fqdn"]):
modules["sunet"]["tag"] = "patlu-certbot-sync-dir-2*"
# Build list of expected file content
file_lines = create_file_content(modules)