ansible/roles/vm-common/tasks/base.yml

27 lines
456 B
YAML

# vim: ft=yaml.ansible
# code: language=ansible
---
- name: Install system packages
ansible.builtin.apt:
name:
- apparmor
- bind-utils
- firewalld
- haveged
- htop
- jq
- lsof
- mtr
- telnet
- vim
state: present
- name: Ensure services are enabled and running
ansible.builtin.service:
name: "{{ item }}"
enabled: true
state: started
loop:
- firewalld
- haveged