mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Explicitly disable dnsmasq when in Appliance mode
otherwise dnsmasq will become active upon reboot because enable_services.yml would still be acting upon local_vars.yml where dnsmasq_enabled is set to True while there is not LAN interface available to bind the service to.
This commit is contained in:
parent
44d2cfc0dd
commit
bb6b3c2ab2
2 changed files with 10 additions and 3 deletions
|
|
@ -37,8 +37,17 @@
|
|||
set_fact:
|
||||
named_enabled: False
|
||||
dhcpd_enabled: False
|
||||
dnsmasq_enabled: True
|
||||
dhcp_service2: "dnsmasq"
|
||||
when: dnsmasq_install and dnsmasq_enabled and iiab_network_mode != "Appliance"
|
||||
when: dnsmasq_install and iiab_network_mode != "Appliance"
|
||||
|
||||
- name: LAN not configured - dnsmasq
|
||||
set_fact:
|
||||
named_enabled: False
|
||||
dhcpd_enabled: False
|
||||
dnsmasq_enabled: False
|
||||
dhcp_service2: "dnsmasq"
|
||||
when: dnsmasq_install and iiab_network_mode == "Appliance"
|
||||
|
||||
- name: Add 'network' variable values (from computed_services.yml) to /etc/iiab/iiab.ini
|
||||
ini_file:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue