1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

2-common/tasks/network.yml: Cleanup & network packages context

This commit is contained in:
A Holt 2021-07-27 14:56:20 -04:00 committed by GitHub
parent cce544c868
commit ed9383d394
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,11 +1,16 @@
- name: '2021-07-27: SEE ALSO ~3 networking packages EARLIER installed by https://github.com/iiab/iiab/blob/master/roles/1-prep/tasks/raspberry_pi.yml'
meta: noop
- name: '2021-07-27: SEE ALSO ~3 networking packages EARLIER installed by https://github.com/iiab/iiab/blob/master/roles/2-common/tasks/packages.yml'
meta: noop
- name: Install package networkd-dispatcher (OS's other than RaspiOS)
package:
name: networkd-dispatcher
state: present
when: not is_raspbian
# used in the network role
- name: 'Install network packages: hostapd, iproute2, iptables-persistent, netmask (debuntu)'
- name: 'Install network packages: hostapd, iproute2, iptables-persistent, netmask (debuntu) -- later used by https://github.com/iiab/iiab/tree/master/roles/network'
package:
name:
- iproute2
@ -13,11 +18,9 @@
- hostapd
- netmask
state: present
when: is_debuntu
- name: Install /etc/network/if-pre-up.d/iptables from template (0755, debuntu)
template:
src: iptables
dest: /etc/network/if-pre-up.d/iptables
mode: '0755'
when: is_debuntu