blob: 600b6642072c2573349b66ef8ca94436221b2f37 [file] [log] [blame]
David K. Bainbridge57cefd22016-12-19 23:04:29 -08001- name: Apt Repo
2 apt_repository:
3 repo: ppa:git-core/ppa
4 state: present
5 update_cache: yes
Andy Bavier825e1592017-02-24 16:28:01 -05006 register: result
7 until: result | success
8 retries: 3
9 delay: 10
David K. Bainbridge57cefd22016-12-19 23:04:29 -080010
Zsolt Haraszti42314e92016-06-02 17:35:09 -070011- name: Apt packages
12 apt:
13 name: "{{ item }}"
Scott Baker781d28b2016-11-01 11:01:47 -070014 with_items: "{{ apt_packages }}"
Zsolt Haraszti42314e92016-06-02 17:35:09 -070015 tags: [buildtools]
16
David K. Bainbridgec946f1d2017-01-12 14:06:42 -080017- 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