Skip to content
Snippets Groups Projects
Commit 1f9e65e6 authored by Benjamin Graillot's avatar Benjamin Graillot
Browse files

[dns] Deploy dns on silice

parent a27a641a
No related branches found
No related tags found
2 merge requests!64Keepalived,!40Dns
......@@ -15,3 +15,12 @@
zones: "{{ lookup('re2oapi', 'dnszones') }}"
reverse: "{{ lookup('re2oapi', 'dnsreverse') }}"
roles: ["bind-authoritative"]
- hosts: silice.adm.crans.org
vars:
re2o:
server: re2o.adm.crans.org
service_user: "{{ vault_re2o_service_user }}"
service_password: "{{ vault_re2o_service_password }}"
roles:
- dns
......@@ -30,6 +30,22 @@
owner: root
group: root
- name: Create generated directory
file:
path: /var/cache/bind/generated
state: directory
mode: 0655
owner: bind
group: bind
- name: Create symbolic link to generated
file:
src: /var/cache/bind/generated
dest: /var/local/dns/generated
owner: root
group: root
state: link
- name: Deploy cron for dns
template:
src: cron.d/dns.j2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment