1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00
iiab/roles/2-common/tasks/network.yml

24 lines
553 B
YAML
Raw Normal View History

- name: Install package networkd-dispatcher (OS's other than RaspOS)
package:
name: networkd-dispatcher
state: present
when: not is_raspbian
2021-04-27 23:48:03 +00:00
# used in the network role
2021-04-29 06:10:35 +00:00
- name: Install network related packages (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
2018-10-31 01:38:52 +00:00
- name: Install /etc/network/if-pre-up.d/iptables from template (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