1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Update computed_services.yml

This commit is contained in:
A Holt 2018-10-08 15:51:21 -04:00 committed by GitHub
parent 151f93fc6a
commit 30550052f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,17 +40,18 @@
dhcp_service2: "dnsmasq" dhcp_service2: "dnsmasq"
when: dnsmasq_install and dnsmasq_enabled and iiab_network_mode != "Appliance" when: dnsmasq_install and dnsmasq_enabled and iiab_network_mode != "Appliance"
- name: Add location section to config file - name: Add variable values to /etc/iiab/iiab.ini
ini_file: dest='{{ iiab_config_file }}' ini_file:
section=network dest: "{{ iiab_config_file }}"
option='{{ item.option }}' section: network
value='{{ item.value }}' option: "{{ item.option }}"
value: "{{ item.value }}"
with_items: with_items:
- option: 'iiab_network_mode_applied' - option: iiab_network_mode_applied
value: '{{ iiab_network_mode }}' value: "{{ iiab_network_mode }}"
- option: 'dhcp_service2' - option: dhcp_service2
value: '{{ dhcp_service2 }}' value: "{{ dhcp_service2 }}"
- option: 'dnsmasq_enabled' - option: dnsmasq_enabled
value: '{{ dnsmasq_enabled }}' value: "{{ dnsmasq_enabled }}"
- option: 'no_net_restart' - option: no_net_restart
value: '{{ no_net_restart }}' value: "{{ no_net_restart }}"