ansible-role-ansible/tasks/setup-Debian.yml

16 lines
448 B
YAML
Raw Normal View History

---
2016-08-31 02:20:35 +02:00
- name: Enable Backports repository.
apt_repository:
repo: 'deb http://ftp.debian.org/debian {{ ansible_distribution_release }}-backports main'
state: present
filename: "{{ ansible_distribution_release }}_backports"
- name: Update apt cache.
apt: update_cache=yes cache_valid_time=86400
- name: Install Ansible.
2016-08-31 02:20:35 +02:00
apt:
name: ansible
state: installed
default_release: "{{ ansible_distribution_release }}-backports"