-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdependencias.yml
45 lines (38 loc) · 1.26 KB
/
dependencias.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
- hosts: localhost
tasks:
- name: Instalar GCC 8, 9 y 10
block:
- name: Agregar repo ubuntu-toolchain-r
apt_repository:
repo: 'ppa:ubuntu-toolchain-r/test'
- name: Instalar gcc's
apt:
name:
- gcc-8
- gcc-9
- gcc-10
state: latest
- name: Instalar Clang 10, 11 y 12
block:
- name: Agregar llave GPG de LLVM.org
apt_key:
url: https://apt.llvm.org/llvm-snapshot.gpg.key
state: present
- name: Agregar repo de clang 11
apt_repository:
repo: deb http://apt.llvm.org/{{ansible_distribution_release|lower}}/ llvm-toolchain-{{ansible_distribution_release|lower}}-11 main
filename: llvm-toolchain-11
state: present
- name: Agregar repo de clang 12
apt_repository:
repo: deb http://apt.llvm.org/{{ansible_distribution_release|lower}}/ llvm-toolchain-{{ansible_distribution_release|lower}}-12 main
filename: llvm-toolchain-12
state: present
- name: Instalar clangs
apt:
name:
- clang-10
- clang-11
- clang-12
state: latest