ansible/roles/ubuntu_base/tasks/base.yml

27 lines
470 B
YAML
Raw Normal View History

2018-05-10 09:20:28 +00:00
---
2021-02-01 20:06:39 +00:00
- name: Install necessary packages via apt
2018-05-10 09:20:28 +00:00
apt:
name: "{{ packages }}"
state: latest
vars:
packages:
- aptitude
- python3-pip
- apparmor
- haveged
- mosh
- name: Install Dell OpenManage
apt:
name: srvadmin-all
when: ansible_virtualization_role != "guest"
2021-02-01 20:06:39 +00:00
- name: Install necessary packages via pip
pip:
name: "{{ packages }}"
state: latest
2021-02-01 20:06:39 +00:00
vars:
packages:
- docker
2022-01-31 10:57:24 +00:00
- docker-compose