ansible-roles/deb-apt-setup/tasks/main.yml

11 lines
382 B
YAML

---
# First things first: install the basic requirements with a raw command
- name: Install python 2 and python-apt
raw: "apt-get update; apt-get install -y python python-apt lsb-release"
tags: [ 'python', 'ansible_setup' ]
- name: Install python-software-properties
apt: pkg=python-software-properties state=present update_cache=yes cache_valid_time=3600
tags: pythonapt