ansible/roles/common/tasks/packages.yml

21 lines
466 B
YAML

# Install our baseline packages for all machines, irrespective of what role they might have
---
- name: Install baseline packages
apt:
name: "{{ packages }}"
state: present
update_cache: yes
vars:
packages:
- aptitude
- git
- python
- man
- python-pip
- letsencrypt
- python-certbot-apache
# Install ansible python package, because it's the latest
- name: Install ansible
pip:
name: ansible