homelab/roles/base/tasks/main.yml

17 lines
349 B
YAML
Raw Normal View History

- name: Install useful software
apt:
name: ["vim", "wget"]
state: present
- name: Install network interfaces
template:
2020-05-23 23:27:40 +00:00
src: "{{ network_type }}-interface.cfg"
dest: /etc/network/interfaces
notify: reboot_host
- name: Install bridge utilities
apt:
name: bridge-utils
state: present
2020-04-25 02:24:02 +00:00
when: network_type == "bridged"