Commit | Line | Data |
---|---|---|
3ea0152b MJ |
1 | --- |
2 | # Include variables and define needed variables. | |
3 | - name: Include OS-specific variables. | |
4 | include_vars: "{{ ansible_os_family }}.yml" | |
5 | ||
6 | - name: Define lttng_modules_packages. | |
7 | set_fact: | |
8 | lttng_modules_packages: "{{ __lttng_modules_packages | list }}" | |
9 | when: lttng_modules_packages is not defined | |
10 | ||
11 | # Setup/install tasks. | |
12 | - include: setup-RedHat.yml | |
13 | when: ansible_os_family == 'RedHat' | |
14 | ||
15 | - include: setup-Debian.yml | |
16 | when: ansible_os_family == 'Debian' | |
17 | ||
1be0d012 MJ |
18 | - include: setup-Alpine.yml |
19 | when: ansible_os_family == 'Alpine' | |
20 | ||
599b56d0 MJ |
21 | - include: setup-Suse.yml |
22 | when: ansible_os_family == 'Suse' | |
23 | ||
3ea0152b | 24 | - name: checkout repo |
42de47d7 | 25 | git: repo=git://git-mirror.internal.efficios.com/git/linux-all.git |
3ea0152b MJ |
26 | dest=/home/jenkins/gitcache/linux-stable.git |
27 | bare=yes | |
f56d2ba7 MJ |
28 | become: yes |
29 | become_user: jenkins |