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:
parent
cce544c868
commit
ed9383d394
1 changed files with 7 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue