mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
grouping
This commit is contained in:
parent
1b8e6e4958
commit
df5618c3a4
2 changed files with 7 additions and 7 deletions
|
@ -141,6 +141,13 @@
|
||||||
line: 'IIAB_LAN_DEVICE={{ iiab_lan_iface }}'
|
line: 'IIAB_LAN_DEVICE={{ iiab_lan_iface }}'
|
||||||
state: present
|
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 }}
|
- name: Add 'computed_network' variable values to {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
|
|
|
@ -53,13 +53,6 @@
|
||||||
name: avahi-daemon
|
name: avahi-daemon
|
||||||
state: restarted
|
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
|
#netplan de-configures pre-created bridged interfaces
|
||||||
#- name: Reload netplan when Wifi is not gateway on Ubuntu 18+
|
#- name: Reload netplan when Wifi is not gateway on Ubuntu 18+
|
||||||
# shell: netplan apply
|
# shell: netplan apply
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue