2016-08-31 02:19:02 +02:00
|
|
|
---
|
|
|
|
- name: Add ansible repository.
|
|
|
|
apt_repository: repo='ppa:ansible/ansible'
|
|
|
|
|
|
|
|
- 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
|