ansible/roles/ubuntu_base/tasks/base.yml
Sam A. 581c832b36
Some Vagrant fixes
Only install Dell OpenManage if not running in a VM, and fix SSH port
logic.
2022-11-13 21:42:52 +01:00

27 lines
470 B
YAML

---
- name: Install necessary packages via apt
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"
- name: Install necessary packages via pip
pip:
name: "{{ packages }}"
state: latest
vars:
packages:
- docker
- docker-compose