ansible/roles/ubuntu_base/tasks/base.yml
Sam A. 6a16328b7b
Make Ansible setup testable in Vagrant
Added logic to change the sshd port if not already configured,
configued Vagrantfile to work properly and fixed a couple of deploy
errors.
2022-11-13 20:26:58 +01:00

23 lines
441 B
YAML

---
- name: Install necessary packages via apt
apt:
name: "{{ packages }}"
vars:
packages:
- aptitude
- python3-pip
- apparmor
- haveged
- mosh
- srvadmin-all # Dell OpenManage
- name: Install necessary packages via pip
pip:
name: "{{ packages }}"
state: latest
vars:
packages:
- pip # upgrade needed for docker-compose to install
- docker
- docker-compose