2015-05-28 11:32:57 +02:00
|
|
|
---
|
|
|
|
- name: Remove the now obsolete rquillo ppa for ansible
|
|
|
|
apt_repository: repo='ppa:rquillo/ansible' state=absent
|
|
|
|
register: update_apt_cache_rquillo
|
2016-02-09 19:38:44 +01:00
|
|
|
tags: ansible
|
2015-05-28 11:32:57 +02:00
|
|
|
|
|
|
|
- name: Add the ansible ppa for ansible
|
2016-02-09 19:38:44 +01:00
|
|
|
apt_repository: repo='ppa:ansible/ansible' update_cache=yes
|
2015-05-28 11:32:57 +02:00
|
|
|
register: update_apt_cache
|
2016-02-09 19:38:44 +01:00
|
|
|
tags: ansible
|
2015-05-28 11:32:57 +02:00
|
|
|
|
|
|
|
- name: Install the ansible package
|
|
|
|
apt: pkg=ansible state={{ ansible_pkg_state }}
|
2016-02-09 19:38:44 +01:00
|
|
|
tags: ansible
|
2015-05-28 11:32:57 +02:00
|
|
|
|