Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
jijisa
/
porch
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
65216dc7
authored
Jun 21, 2017
by
Heechul Kim
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
modified bind tasks
parent
dd2b3589
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
porch/templates/bind_main.j2
porch/templates/bind_main.j2
View file @
65216dc7
...
...
@@ -15,7 +15,7 @@
name: bind-utils
state: present
- name: Get bind source tarball from
f
tp://ftp.isc.org.
- name: Get bind source tarball from
ht
tp://ftp.isc.org.
get_url:
url: http://ftp.isc.org/isc/bind9/{{ d['tag'] }}/bind-{{ d['tag'] }}.tar.gz
dest: /tmp/bind-{{ d['tag'] }}.tar.gz
...
...
@@ -115,19 +115,22 @@
mode: 0755
- name: Change ownership of /data to named:named
command: chown -R named:named /data
file:
path: /data
state: directory
owner: named
group: named
recurse: yes
- name: Copy named.service systemd file.
copy:
src: named.service
dest: /etc/systemd/system/named.service
- name: Reload systemd.
command: systemctl daemon-reload
- name: Enable named service
command: systemctl enable named.service
- name: Run named service
command: systemctl start named.service
systemd:
name: named
daemon-reload: yes
enabled: yes
state: started
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment