Basic ansible node provisionning
[lttng-ci.git] / automation / ansible / roles / lttng-modules / tasks / main.yml
CommitLineData
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
18- name: checkout repo
19 git: repo=git://artifacts.internal.efficios.com/git/linux-stable.git
20 dest=/home/jenkins/gitcache/linux-stable.git
21 bare=yes
22 sudo: yes
23 sudo_user: jenkins
This page took 0.034327 seconds and 4 git commands to generate.