1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00
This commit is contained in:
Jerry Vonau 2021-04-12 10:45:31 -05:00
parent 1b8e6e4958
commit df5618c3a4
2 changed files with 7 additions and 7 deletions

View file

@ -141,6 +141,13 @@
line: 'IIAB_LAN_DEVICE={{ iiab_lan_iface }}'
state: present
- name: Record 'IIAB_GATEWAY_ENABLED={{ iiab_gateway_enabled }}' in {{ iiab_env_file }}
lineinfile:
path: "{{ iiab_env_file }}"
regexp: '^IIAB_GATEWAY_ENABLED=*'
line: 'IIAB_GATEWAY_ENABLED={{ iiab_gateway_enabled }}'
state: present
- name: Add 'computed_network' variable values to {{ iiab_ini_file }}
ini_file:
dest: "{{ iiab_ini_file }}"

View file

@ -53,13 +53,6 @@
name: avahi-daemon
state: restarted
- name: Record 'IIAB_GATEWAY_ENABLED={{ iiab_gateway_enabled }}' in {{ iiab_env_file }}
lineinfile:
path: "{{ iiab_env_file }}"
regexp: '^IIAB_GATEWAY_ENABLED=*'
line: 'IIAB_GATEWAY_ENABLED={{ iiab_gateway_enabled }}'
state: present
#netplan de-configures pre-created bridged interfaces
#- name: Reload netplan when Wifi is not gateway on Ubuntu 18+
# shell: netplan apply