David K. Bainbridge | ed10154 | 2016-05-18 20:26:15 -0700 | [diff] [blame] | 1 | - name: Ansible Repository |
| 2 | become: yes |
| 3 | apt_repository: |
David K. Bainbridge | ca68f06 | 2016-10-27 11:04:33 -0700 | [diff] [blame] | 4 | repo: "{{ ansible_apt_repo | default('ppa:ansible/ansible') }}" |
David K. Bainbridge | ed10154 | 2016-05-18 20:26:15 -0700 | [diff] [blame] | 5 | |
| 6 | - name: Ensure Ansible |
| 7 | become: yes |
| 8 | apt: |
Scott Baker | b2b7fd9 | 2016-11-01 16:01:38 -0700 | [diff] [blame] | 9 | name=ansible=2.2.* |
David K. Bainbridge | 17248c0 | 2016-08-29 17:04:34 -0700 | [diff] [blame] | 10 | state=present |