blob: 8a22f32c3f2be02513913f2e77c4a2546194e2ee [file] [log] [blame]
Matteo Scandolo60b640f2017-08-08 13:05:22 -07001
2# Copyright 2017-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16
David K. Bainbridge57cefd22016-12-19 23:04:29 -080017- name: Apt Repo
18 apt_repository:
19 repo: ppa:git-core/ppa
20 state: present
21 update_cache: yes
Andy Bavier825e1592017-02-24 16:28:01 -050022 register: result
23 until: result | success
24 retries: 3
25 delay: 10
David K. Bainbridge57cefd22016-12-19 23:04:29 -080026
Zsolt Haraszti42314e92016-06-02 17:35:09 -070027- name: Apt packages
28 apt:
29 name: "{{ item }}"
Scott Baker781d28b2016-11-01 11:01:47 -070030 with_items: "{{ apt_packages }}"
Zsolt Haraszti42314e92016-06-02 17:35:09 -070031 tags: [buildtools]
32
David K. Bainbridgec946f1d2017-01-12 14:06:42 -080033- name: Ensure Repo
34 copy:
35 src: repo.bin
36 dest: /usr/local/bin/repo
37 owner: root
38 group: root
39 mode: 0755
40