forked from ISTI-ansible-roles/ansible-roles
Merge pull request 'powerdns: add tags to the tasks that install the configuration files.' (#197) from adellam/ansible-roles:master into master
This commit is contained in:
commit
de1df44d9f
|
@ -17,15 +17,17 @@
|
|||
|
||||
- name: Install the powerdns DB backend packages
|
||||
apt: pkg={{ powerdns_auth_db_pkgs }} state=present
|
||||
when: powerdns_auth_use_db_backend
|
||||
when: powerdns_auth_use_db_backend | bool
|
||||
|
||||
- name: Install the powerdns main configuration file
|
||||
template: src=pdns.conf dest=/etc/powerdns/pdns.conf owner=root group=root mode=0600
|
||||
notify: Restart powerdns
|
||||
tags: [ 'dns', 'powerdns', 'powerdns_conf' ]
|
||||
|
||||
- name: Install the powerdns local configuration file
|
||||
template: src=pdns.local.conf dest=/etc/powerdns/pdns.d/pdns.local.conf owner=root group=root mode=0600
|
||||
notify: Restart powerdns
|
||||
tags: [ 'dns', 'powerdns', 'powerdns_conf' ]
|
||||
|
||||
- name: Ensure that powerdns is running and enabled
|
||||
service: name=pdns state=started enabled=yes
|
||||
|
|
Loading…
Reference in New Issue