forked from FF-RGB/ansible
Style cleanup
This commit is contained in:
parent
7b640e17d4
commit
77b895ad56
@ -4,13 +4,13 @@
|
|||||||
apt_repository: repo='deb http://httpredir.debian.org/debian jessie-backports main' state=present
|
apt_repository: repo='deb http://httpredir.debian.org/debian jessie-backports main' state=present
|
||||||
|
|
||||||
- name: Install powerdns
|
- name: Install powerdns
|
||||||
apt: name={{item}} default_release=jessie-backports state=latest
|
apt: name={{ item }} default_release=jessie-backports state=latest
|
||||||
with_items:
|
with_items:
|
||||||
# - pdns-server
|
# - pdns-server
|
||||||
- pdns-recursor
|
- pdns-recursor
|
||||||
|
|
||||||
- name: Configure powerdns
|
- name: Configure powerdns
|
||||||
template: src={{item}}.j2 dest=/etc/powerdns/{{item}}
|
template: src={{ item }}.j2 dest=/etc/powerdns/{{ item }}
|
||||||
tags: dns
|
tags: dns
|
||||||
notify: Restart powerdns
|
notify: Restart powerdns
|
||||||
with_items:
|
with_items:
|
||||||
@ -18,7 +18,7 @@
|
|||||||
- recursor.conf
|
- recursor.conf
|
||||||
|
|
||||||
- name: Start the powerdns services
|
- name: Start the powerdns services
|
||||||
service: name={{item}} state=started enabled=yes
|
service: name={{ item }} state=started enabled=yes
|
||||||
with_items:
|
with_items:
|
||||||
# - pdns
|
# - pdns
|
||||||
- pdns-recursor
|
- pdns-recursor
|
||||||
|
Loading…
Reference in New Issue
Block a user