Working devops
This commit is contained in:
@ -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"
|
||||
|
10
devops/templates/templates/zonefile.tera
Normal file
10
devops/templates/templates/zonefile.tera
Normal 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.
|
Reference in New Issue
Block a user