mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
move to runtime option from install time (via 1-prep)
This commit is contained in:
parent
742405b1d3
commit
1b8e6e4958
1 changed files with 6 additions and 5 deletions
|
@ -53,11 +53,12 @@
|
|||
name: avahi-daemon
|
||||
state: restarted
|
||||
|
||||
- name: Create gateway flag
|
||||
shell: echo 1 > /etc/sysconfig/olpc-scripts/setup.d/installed/gateway
|
||||
args:
|
||||
creates: /etc/sysconfig/olpc-scripts/setup.d/installed/gateway
|
||||
when: iiab_network_mode == "Gateway"
|
||||
- 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+
|
||||
|
|
Loading…
Reference in a new issue