reachout/roles/ansible_dependencies/tasks/main.yml
2019-06-04 03:20:59 +02:00

6 lines
266 B
YAML

- name: Ensure aptitude is present
raw: test -e /usr/bin/aptitude || apt-get install aptitude -y
- name: Ensure python2 is present (This is necessary for ansible to work properly)
raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal)