From 4e80a501c6685057a2576946e90367b0402d14c1 Mon Sep 17 00:00:00 2001 From: sonny Date: Sat, 3 Aug 2024 15:11:52 +0200 Subject: [PATCH] Remove datetime timestamps --- templates/docker.j2 | 2 +- templates/hosts.j2 | 2 +- templates/interface_restart.service.j2 | 2 +- templates/interface_restart.timer.j2 | 2 +- templates/mpd.j2 | 2 +- templates/network/link1.link.j2 | 2 +- templates/network/link1.network.j2 | 2 +- templates/nftables.j2 | 2 +- templates/nginx/default.j2 | 2 +- templates/nginx/gitlab.j2 | 2 +- templates/nginx/newsreader.j2 | 2 +- templates/nginx/sentry.j2 | 2 +- templates/nginx/vpn.j2 | 2 +- templates/radicale/conf.j2 | 2 +- templates/radicale/service.j2 | 2 +- templates/ssh.j2 | 2 +- templates/syncthing.j2 | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) diff --git a/templates/docker.j2 b/templates/docker.j2 index 6fd69da..9047bb7 100644 --- a/templates/docker.j2 +++ b/templates/docker.j2 @@ -1,3 +1,3 @@ -# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }} +# {{ ansible_managed }} deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian bookworm stable diff --git a/templates/hosts.j2 b/templates/hosts.j2 index 0210fda..487e4bd 100644 --- a/templates/hosts.j2 +++ b/templates/hosts.j2 @@ -1,4 +1,4 @@ -# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }} +# {{ ansible_managed }} 127.0.0.1 localhost 127.0.1.1 zeus diff --git a/templates/interface_restart.service.j2 b/templates/interface_restart.service.j2 index b668d55..239f98d 100644 --- a/templates/interface_restart.service.j2 +++ b/templates/interface_restart.service.j2 @@ -1,4 +1,4 @@ -# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }} +# {{ ansible_managed }} # [Unit] diff --git a/templates/interface_restart.timer.j2 b/templates/interface_restart.timer.j2 index e95b8fb..b4372ce 100644 --- a/templates/interface_restart.timer.j2 +++ b/templates/interface_restart.timer.j2 @@ -1,4 +1,4 @@ -# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }} +# {{ ansible_managed }} # [Unit] diff --git a/templates/mpd.j2 b/templates/mpd.j2 index 5e38d79..5681023 100644 --- a/templates/mpd.j2 +++ b/templates/mpd.j2 @@ -1,4 +1,4 @@ -# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }} +# {{ ansible_managed }} # # An example configuration file for MPD. # Read the user manual for documentation: http://www.musicpd.org/doc/user/ diff --git a/templates/network/link1.link.j2 b/templates/network/link1.link.j2 index 386ccb0..5d1aaca 100644 --- a/templates/network/link1.link.j2 +++ b/templates/network/link1.link.j2 @@ -1,4 +1,4 @@ -# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }} +# {{ ansible_managed }} [Match] MACAddress={{ network_mac }} diff --git a/templates/network/link1.network.j2 b/templates/network/link1.network.j2 index 8063c39..2448938 100644 --- a/templates/network/link1.network.j2 +++ b/templates/network/link1.network.j2 @@ -1,4 +1,4 @@ -# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }} +# {{ ansible_managed }} [Match] Name={{ network_interface }} diff --git a/templates/nftables.j2 b/templates/nftables.j2 index 9ed9be6..70e57cc 100644 --- a/templates/nftables.j2 +++ b/templates/nftables.j2 @@ -1,4 +1,4 @@ -# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }} +# {{ ansible_managed }} # vim:set ts=2 sw=2 et: flush ruleset diff --git a/templates/nginx/default.j2 b/templates/nginx/default.j2 index 4b5a2ec..882ea51 100644 --- a/templates/nginx/default.j2 +++ b/templates/nginx/default.j2 @@ -1,5 +1,5 @@ ## -# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }} +# {{ ansible_managed }} # # You should look at the following URL's in order to grasp a solid understanding # of Nginx configuration files in order to fully unleash the power of Nginx. diff --git a/templates/nginx/gitlab.j2 b/templates/nginx/gitlab.j2 index f51d28d..1bcf67d 100644 --- a/templates/nginx/gitlab.j2 +++ b/templates/nginx/gitlab.j2 @@ -1,4 +1,4 @@ -# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }} +# {{ ansible_managed }} server { listen {{ https_port }} ssl; diff --git a/templates/nginx/newsreader.j2 b/templates/nginx/newsreader.j2 index 3dec53e..20137a8 100644 --- a/templates/nginx/newsreader.j2 +++ b/templates/nginx/newsreader.j2 @@ -1,4 +1,4 @@ -# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }} +# {{ ansible_managed }} server { listen {{ https_port }} ssl; diff --git a/templates/nginx/sentry.j2 b/templates/nginx/sentry.j2 index 66ad528..232036c 100644 --- a/templates/nginx/sentry.j2 +++ b/templates/nginx/sentry.j2 @@ -1,4 +1,4 @@ -# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }} +# {{ ansible_managed }} server { listen {{ https_port }} ssl; diff --git a/templates/nginx/vpn.j2 b/templates/nginx/vpn.j2 index 0937cee..6817908 100644 --- a/templates/nginx/vpn.j2 +++ b/templates/nginx/vpn.j2 @@ -1,4 +1,4 @@ -# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }} +# {{ ansible_managed }} server { listen {{ vpn_listen_address }}:{{ https_port }} ssl; diff --git a/templates/radicale/conf.j2 b/templates/radicale/conf.j2 index 0aea335..578ae9d 100644 --- a/templates/radicale/conf.j2 +++ b/templates/radicale/conf.j2 @@ -1,4 +1,4 @@ -# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }} +# {{ ansible_managed }} [server] ssl = True diff --git a/templates/radicale/service.j2 b/templates/radicale/service.j2 index 3f3a834..e3811f5 100644 --- a/templates/radicale/service.j2 +++ b/templates/radicale/service.j2 @@ -1,4 +1,4 @@ -# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }} +# {{ ansible_managed }} [Unit] Description=A simple CalDAV (calendar) and CardDAV (contact) server diff --git a/templates/ssh.j2 b/templates/ssh.j2 index b0c7fac..d6446eb 100644 --- a/templates/ssh.j2 +++ b/templates/ssh.j2 @@ -1,4 +1,4 @@ -# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }} +# {{ ansible_managed }} # # $OpenBSD: sshd_config,v 1.100 2016/08/15 12:32:04 naddy Exp $ diff --git a/templates/syncthing.j2 b/templates/syncthing.j2 index 4d8a332..b656556 100644 --- a/templates/syncthing.j2 +++ b/templates/syncthing.j2 @@ -1,4 +1,4 @@ - +