David K. Bainbridge | 57cefd2 | 2016-12-19 23:04:29 -0800 | [diff] [blame] | 1 | - name: Apt Repo |
| 2 | apt_repository: |
| 3 | repo: ppa:git-core/ppa |
| 4 | state: present |
| 5 | update_cache: yes |
Andy Bavier | 825e159 | 2017-02-24 16:28:01 -0500 | [diff] [blame] | 6 | register: result |
| 7 | until: result | success |
| 8 | retries: 3 |
| 9 | delay: 10 |
David K. Bainbridge | 57cefd2 | 2016-12-19 23:04:29 -0800 | [diff] [blame] | 10 | |
Zsolt Haraszti | 42314e9 | 2016-06-02 17:35:09 -0700 | [diff] [blame] | 11 | - name: Apt packages |
| 12 | apt: |
| 13 | name: "{{ item }}" |
Scott Baker | 781d28b | 2016-11-01 11:01:47 -0700 | [diff] [blame] | 14 | with_items: "{{ apt_packages }}" |
Zsolt Haraszti | 42314e9 | 2016-06-02 17:35:09 -0700 | [diff] [blame] | 15 | tags: [buildtools] |
| 16 | |
David K. Bainbridge | c946f1d | 2017-01-12 14:06:42 -0800 | [diff] [blame] | 17 | - name: Ensure Repo |
| 18 | copy: |
| 19 | src: repo.bin |
| 20 | dest: /usr/local/bin/repo |
| 21 | owner: root |
| 22 | group: root |
| 23 | mode: 0755 |
| 24 | |