Sam A.
57ca1e9233
- Added a separate role that first configures SSH, and after that gathers the ansible_virtualization_role fact, due to gathering facts requiring an SSH connection - Renamed ssl_certs_enabled to letsencrypt_enabled and moved that and the vagrant variable to the be supplied directly to the last two roles in playbook.yml - Added tags base_only and setup_services to the new role ssh_and_vagrant so that it will always be run before anything else when using deploy.sh
25 lines
407 B
YAML
25 lines
407 B
YAML
---
|
|
- name: Install necessary packages via apt
|
|
apt:
|
|
name: "{{ packages }}"
|
|
vars:
|
|
packages:
|
|
- aptitude
|
|
- python3-pip
|
|
- apparmor
|
|
- haveged
|
|
- mosh
|
|
|
|
- name: Install Dell OpenManage
|
|
apt:
|
|
name: srvadmin-all
|
|
when: not vagrant
|
|
|
|
- name: Install necessary packages via pip
|
|
pip:
|
|
name: "{{ packages }}"
|
|
vars:
|
|
packages:
|
|
- docker
|
|
- docker-compose
|