mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
More readable Ansible output
This commit is contained in:
parent
d6bbb9cd07
commit
c8b7bba77f
1 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
- name: Install named packages
|
||||
- name: Install named packages for Debian/Debuntu
|
||||
package: name={{ item }}
|
||||
state=present
|
||||
with_items:
|
||||
|
@ -8,7 +8,7 @@
|
|||
tags:
|
||||
- download
|
||||
|
||||
- name: Install named packages
|
||||
- name: Install named packages for non Debian/Debuntu
|
||||
package: name={{ item }}
|
||||
state=present
|
||||
with_items:
|
||||
|
@ -64,7 +64,7 @@
|
|||
- { src: 'named/dummy', dest: '/var/named-iiab/data/dummy' , owner: "{{ dns_user }}" , mode: '0644'}
|
||||
- { src: 'named/named.blackhole', dest: '/var/named-iiab/named.blackhole' , owner: "{{ dns_user }}" , mode: '0644'}
|
||||
|
||||
- name: substitute our unit file which uses $OPTIONS from sysconfig
|
||||
- name: Substitute our unit file which uses $OPTIONS from sysconfig
|
||||
template: src=named/{{ dns_service }}.service
|
||||
dest=/etc/systemd/system/{{ dns_service }}.service
|
||||
mode=0644
|
||||
|
@ -80,13 +80,13 @@
|
|||
state=link
|
||||
when: is_debuntu and dns_jail_enabled
|
||||
|
||||
- name: Separate enabling/disabling required for debian
|
||||
- name: Separate enabling/disabling required for Debian
|
||||
file: src=/etc/{{ apache_config_dir }}/dns-jail.conf
|
||||
path=/etc/{{ apache_service }}/sites-enabled/dns-jail.conf
|
||||
state=absent
|
||||
when: is_debuntu and not dns_jail_enabled
|
||||
|
||||
- name: Separate enabling/disabling required for non debian
|
||||
- name: Separate enabling/disabling required for non Debian
|
||||
file: path=/etc/{{ apache_config_dir }}/dns-jail.conf
|
||||
state=absent
|
||||
when: not is_debuntu and not dns_jail_enabled
|
||||
|
|
Loading…
Reference in a new issue