Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ansible
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nounous
Ansible
Commits
1f9e65e6
Commit
1f9e65e6
authored
4 years ago
by
Benjamin Graillot
Browse files
Options
Downloads
Patches
Plain Diff
[dns] Deploy dns on silice
parent
a27a641a
No related branches found
Branches containing commit
No related tags found
2 merge requests
!64
Keepalived
,
!40
Dns
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
plays/dns.yml
+9
-0
9 additions, 0 deletions
plays/dns.yml
roles/dns/tasks/main.yml
+16
-0
16 additions, 0 deletions
roles/dns/tasks/main.yml
with
25 additions
and
0 deletions
plays/dns.yml
+
9
−
0
View file @
1f9e65e6
...
...
@@ -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
This diff is collapsed.
Click to expand it.
roles/dns/tasks/main.yml
+
16
−
0
View file @
1f9e65e6
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment