809110a72d566b770ecb6cdb9b452102ea963b39
[lttng-ci.git] / automation / ansible / roles / lttng-modules / tasks / main.yml
1 ---
2 # Include variables and define needed variables.
3 - name: Include OS-specific variables.
4 include_vars: "{{ item }}"
5 with_first_found:
6 - "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
7 - "{{ ansible_distribution }}.yml"
8 - "{{ ansible_os_family }}.yml"
9
10 # Setup/install tasks.
11 - include: setup-RedHat.yml
12 when: ansible_os_family in ['RedHat', 'Rocky']
13
14 - include: setup-Debian.yml
15 when: ansible_os_family == 'Debian'
16
17 - include: setup-Alpine.yml
18 when: ansible_os_family == 'Alpine'
19
20 - include: setup-Suse.yml
21 when: ansible_os_family == 'Suse'
22
23 - name: checkout repo
24 git: repo=git://git-mirror.internal.efficios.com/git/linux-all.git
25 dest=/home/jenkins/gitcache/linux-stable.git
26 bare=yes
27 become: yes
28 become_user: jenkins
This page took 0.02981 seconds and 3 git commands to generate.