1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
iiab/roles/2-common/tasks/network.yml

24 lines
603 B
YAML
Raw Normal View History

- name: Install package networkd-dispatcher (OS's other than RaspiOS)
package:
name: networkd-dispatcher
state: present
when: not is_raspbian
2021-04-27 23:48:03 +00:00
# used in the network role
- name: 'Install network packages: hostapd, iproute2, iptables-persistent, netmask (debuntu)'
package:
2021-04-27 23:48:03 +00:00
name:
- iproute2
- iptables-persistent
- hostapd
- netmask
state: present
when: is_debuntu
2017-05-27 18:09:50 +00:00
- name: Install /etc/network/if-pre-up.d/iptables from template (0755, debuntu)
template:
src: iptables
2018-10-31 01:50:07 +00:00
dest: /etc/network/if-pre-up.d/iptables
mode: '0755'
when: is_debuntu