ansible: Add Alpine Linux support
[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: "{{ 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
18 - include: setup-Alpine.yml
19 when: ansible_os_family == 'Alpine'
20
21 - name: checkout repo
22 git: repo=git://artifacts.internal.efficios.com/git/linux-stable.git
23 dest=/home/jenkins/gitcache/linux-stable.git
24 bare=yes
25 sudo: yes
26 sudo_user: jenkins
This page took 0.030525 seconds and 5 git commands to generate.