homelab/roles/base/tasks/main.yml

17 lines
349 B
YAML

- name: Install useful software
apt:
name: ["vim", "wget"]
state: present
- name: Install network interfaces
template:
src: "{{ network_type }}-interface.cfg"
dest: /etc/network/interfaces
notify: reboot_host
- name: Install bridge utilities
apt:
name: bridge-utils
state: present
when: network_type == "bridged"