1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +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"
when: dnsmasq_install and dnsmasq_enabled and iiab_network_mode != "Appliance"
- name: Add location section to config file
ini_file: dest='{{ iiab_config_file }}'
section=network
option='{{ item.option }}'
value='{{ item.value }}'
- name: Add variable values to /etc/iiab/iiab.ini
ini_file:
dest: "{{ iiab_config_file }}"
section: network
option: "{{ item.option }}"
value: "{{ item.value }}"
with_items:
- option: 'iiab_network_mode_applied'
value: '{{ iiab_network_mode }}'
- option: 'dhcp_service2'
value: '{{ dhcp_service2 }}'
- option: 'dnsmasq_enabled'
value: '{{ dnsmasq_enabled }}'
- option: 'no_net_restart'
value: '{{ no_net_restart }}'
- option: iiab_network_mode_applied
value: "{{ iiab_network_mode }}"
- option: dhcp_service2
value: "{{ dhcp_service2 }}"
- option: dnsmasq_enabled
value: "{{ dnsmasq_enabled }}"
- option: no_net_restart
value: "{{ no_net_restart }}"