Working devops

This commit is contained in:
2021-12-18 18:13:52 -05:00
parent a9171c5f21
commit baf329f11c
4 changed files with 15 additions and 2 deletions

View File

@ -85,6 +85,19 @@
path: /srv/peach-dynddns-server
state: directory
- name: create templates directory
file:
path: /srv/peach-dynddns-server/templates
state: directory
- name: Copy zonefile.tera
template:
src: "templates/templates/zonefile.tera"
dest: /srv/peach-dyndns-server/templates/zonefile.tera
owner: root
group: bind
mode: 0644
- name: Create dynserver nginx site conf
template:
src: "templates/dynserver_nginx.conf"

View File

@ -0,0 +1,10 @@
$ORIGIN .
$TTL 30 ; 30 seconds
{{full_domain}} IN SOA ns.commoninternet.net. root.commoninternet.net. (
2016062804 ; serial
3600 ; refresh (1 hour)
600 ; retry (10 minutes)
2600 ; expire (43 minutes 20 seconds)
30 ; minimum (30 seconds)
)
NS ns.commoninternet.net.