27 lines
470 B
YAML
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
|