1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

Update enable_services.yml

This commit is contained in:
A Holt 2019-01-17 15:03:12 -05:00 committed by GitHub
parent 04928693b1
commit e5abe54373
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,13 +48,13 @@
enabled: no
when: not named_enabled and named_install
- name: Install /etc/dnsmasq.conf from template, if dnsmasq_enabled
- name: Install /etc/dnsmasq.d/iiab.conf from template, when dnsmasq_enabled and isn't Appliance
template:
src: network/dnsmasq.conf.j2
dest: /etc/dnsmasq.d/iiab.conf
when: dnsmasq_enabled and dnsmasq_install and (iiab_network_mode != "Appliance")
- name: Remove /etc/dnsmasq.d/iiab.conf when not dnsmasq_enabled or is Appliance
- name: Remove /etc/dnsmasq.d/iiab.conf, when not dnsmasq_enabled or is Appliance
file:
path: /etc/dnsmasq.d/iiab.conf
state: absent