mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
netplan setup is one time and may not even be needed
This commit is contained in:
parent
9bc9f3aeee
commit
ce25ac3cdc
2 changed files with 7 additions and 8 deletions
|
@ -45,6 +45,8 @@
|
||||||
# dest: /etc/network/if-pre-up.d/iptables
|
# dest: /etc/network/if-pre-up.d/iptables
|
||||||
# mode: '0755'
|
# mode: '0755'
|
||||||
|
|
||||||
|
- name: avahi
|
||||||
|
include_tasks: avahi.yml
|
||||||
|
|
||||||
# Ongoing rework (e.g. PR #2652) arising from ansible.posix collection changes:
|
# Ongoing rework (e.g. PR #2652) arising from ansible.posix collection changes:
|
||||||
- name: "4 network settings in /etc/sysctl.conf -- e.g. disabling IPv6 (this might be overkill, as IPv6 should really only be disabled on the LAN side, i.e. br0)"
|
- name: "4 network settings in /etc/sysctl.conf -- e.g. disabling IPv6 (this might be overkill, as IPv6 should really only be disabled on the LAN side, i.e. br0)"
|
||||||
|
@ -76,6 +78,11 @@
|
||||||
include_tasks: roles/network/tasks/squid.yml
|
include_tasks: roles/network/tasks/squid.yml
|
||||||
when: squid_install and squid_installed is undefined
|
when: squid_install and squid_installed is undefined
|
||||||
|
|
||||||
|
#preprep for backends
|
||||||
|
- name: Netplan in use on Ubuntu 18.04+
|
||||||
|
include_tasks: netplan.yml
|
||||||
|
when: is_ubuntu
|
||||||
|
|
||||||
# all installs
|
# all installs
|
||||||
- name: Install /usr/bin/iiab-internet-on|off from template (root:root by default)
|
- name: Install /usr/bin/iiab-internet-on|off from template (root:root by default)
|
||||||
template:
|
template:
|
||||||
|
@ -88,9 +95,6 @@
|
||||||
- gateway/iiab-internet-on
|
- gateway/iiab-internet-on
|
||||||
- gateway/iiab-internet-off
|
- gateway/iiab-internet-off
|
||||||
|
|
||||||
- name: avahi
|
|
||||||
include_tasks: avahi.yml
|
|
||||||
|
|
||||||
# mate desktop detection based on 'register: nd_dir' in enable_services
|
# mate desktop detection based on 'register: nd_dir' in enable_services
|
||||||
- name: Check if /usr/share/mate/autostart/ exists
|
- name: Check if /usr/share/mate/autostart/ exists
|
||||||
stat:
|
stat:
|
||||||
|
|
|
@ -59,11 +59,6 @@
|
||||||
# include_tasks: squid.yml
|
# include_tasks: squid.yml
|
||||||
# when: squid_install and FQDN_changed and iiab_stage|int == 9
|
# when: squid_install and FQDN_changed and iiab_stage|int == 9
|
||||||
|
|
||||||
#preprep for backends
|
|
||||||
- name: Netplan in use on Ubuntu 18.04+
|
|
||||||
include_tasks: netplan.yml
|
|
||||||
when: is_ubuntu and not is_ubuntu_16
|
|
||||||
|
|
||||||
#### Start services
|
#### Start services
|
||||||
- name: hostapd
|
- name: hostapd
|
||||||
include_tasks: hostapd.yml
|
include_tasks: hostapd.yml
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue