ansible: Enable Rocky PowerTools on Rocky Linux 8
[lttng-ci.git] / automation / ansible / roles / common / tasks / main.yml
... / ...
CommitLineData
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 }}-{{ ansible_architecture }}.yml"
7 - "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
8 - "{{ ansible_distribution }}.yml"
9 - "{{ ansible_os_family }}.yml"
10
11# Setup/install tasks.
12- include: setup-RedHat.yml
13 when: ansible_os_family in ['RedHat', 'Rocky']
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- include: setup-Suse.yml
22 when: ansible_os_family == 'Suse'
23
24- include: setup-Windows.yml
25 when: ansible_os_family == 'Windows'
26
27# Setup user accounts
28- include: users.yml
29 when: ansible_os_family != 'Windows'
30
31- include: users-Windows.yml
32 when: ansible_os_family == 'Windows'
This page took 0.021913 seconds and 4 git commands to generate.