Skip to content

Commit

Permalink
rdns: fix soa build without facts (replace ansible_date_time)
Browse files Browse the repository at this point in the history
  • Loading branch information
liske committed Aug 28, 2024
1 parent e11e834 commit 568fdb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/rdns_build/templates/zone.soa.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ ansible_managed | comment(decoration="; ") }}

@ SOA ns.dd-ix.net. noc.dd-ix.net. (
{{ "%-10s"|format(ansible_date_time.epoch) }} ; serial
{{ "%-10s"|format(lookup('pipe', 'date +%s')) }} ; serial
3600 ; Refresh - 1 hour
7200 ; Retry - 2 hours
2592000 ; Expire - 1 week
Expand Down

0 comments on commit 568fdb5

Please sign in to comment.