mirror of
https://github.com/iiab/iiab.git
synced 2025-02-14 20:22:08 +00:00
using 'debuntu' in Ansible output
This commit is contained in:
parent
a8d89d0179
commit
fc7bdc0009
1 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
- name: Install named packages for Debian/Debuntu
|
||||
- name: Install named packages (debuntu)
|
||||
package: name={{ item }}
|
||||
state=present
|
||||
with_items:
|
||||
|
@ -8,7 +8,7 @@
|
|||
tags:
|
||||
- download
|
||||
|
||||
- name: Install named packages for non Debian/Debuntu
|
||||
- name: Install named packages (OS's that are not debuntu)
|
||||
package: name={{ item }}
|
||||
state=present
|
||||
with_items:
|
||||
|
@ -74,19 +74,19 @@
|
|||
template: src=roles/network/templates/named/dns-jail.conf dest=/etc/{{ apache_config_dir }}/
|
||||
when: dns_jail_enabled
|
||||
|
||||
- name: Separate enabling required for Debian
|
||||
- name: Separate enabling required for debuntu
|
||||
file: src=/etc/{{ apache_config_dir }}/dns-jail.conf
|
||||
path=/etc/{{ apache_service }}/sites-enabled/dns-jail.conf
|
||||
state=link
|
||||
when: is_debuntu and dns_jail_enabled
|
||||
|
||||
- name: Separate enabling/disabling required for Debian
|
||||
- name: Separate enabling/disabling required (debuntu)
|
||||
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 (OS's that are not debuntu)
|
||||
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