Working ansible recipe
This commit is contained in:
parent
baf329f11c
commit
eba140be0b
@ -1,3 +1,3 @@
|
||||
[default]
|
||||
template_dir = "devops/templates/templates"
|
||||
template_dir = "devops/templates/tera"
|
||||
port = 3001
|
||||
|
@ -87,13 +87,13 @@
|
||||
|
||||
- name: create templates directory
|
||||
file:
|
||||
path: /srv/peach-dynddns-server/templates
|
||||
path: /srv/peach-dyndns-server/templates/
|
||||
state: directory
|
||||
|
||||
- name: Copy zonefile.tera
|
||||
template:
|
||||
src: "templates/templates/zonefile.tera"
|
||||
dest: /srv/peach-dyndns-server/templates/zonefile.tera
|
||||
ansible.builtin.copy:
|
||||
src: "templates/tera/zonefile.tera"
|
||||
dest: /srv/peach-dynddns-server/templates/zonefile.tera
|
||||
owner: root
|
||||
group: bind
|
||||
mode: 0644
|
||||
|
Loading…
Reference in New Issue
Block a user