[node_sles]
ci-node-sles12sp5-amd64-03-01
-[node_el8]
+[node_el]
ci-node-el8-amd64-03-01
+ci-node-el9-amd64-02-01
[node:children]
node_i386
node_ppc64el
node_standalone
node_sles
-node_el8
+node_el
[py3_hosts:children]
node
--- /dev/null
+- hosts: node_el
+ roles:
+ - common
+ - babeltrace
+ - liburcu
+ - lttng-ust
+ - lttng-tools
+++ /dev/null
-- hosts: node_el8
- roles:
- - common
- - babeltrace
- - liburcu
- - lttng-ust
- - lttng-tools
---
# Include variables and define needed variables.
- name: Include OS-specific variables.
- include_vars: "{{ ansible_os_family }}.yml"
-
-- name: Define babeltrace_packages.
- set_fact:
- babeltrace_packages: "{{ __babeltrace_packages | list }}"
- when: babeltrace_packages is not defined
+ include_vars: "{{ item }}"
+ with_first_found:
+ - "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
+ - "{{ ansible_distribution }}.yml"
+ - "{{ ansible_os_family }}.yml"
# Setup/install tasks.
- include: setup-RedHat.yml
- when: ansible_os_family == 'RedHat'
+ when: ansible_os_family in ['RedHat', 'Rocky']
- include: setup-Debian.yml
when: ansible_os_family == 'Debian'
---
-__babeltrace_packages:
+babeltrace_packages:
+ - chrpath
+ - glib-dev
+ - libdwarf-dev
+ - libelf-dev
- popt-dev
- - util-linux-dev
- python3-dev
# - python3-sphinx
- swig
- - glib-dev
- - libdwarf-dev
- - libelf-dev
- - chrpath
+ - util-linux-dev
---
-__babeltrace_packages:
+babeltrace_packages:
+ - chrpath
+ - libdw-dev
+ - libelf-dev
+ - libglib2.0-dev
- libpopt-dev
- - uuid-dev
- python3-dev
- python3-sphinx
- swig
- - libglib2.0-dev
- - libdw-dev
- - libelf-dev
- - chrpath
+ - uuid-dev
--- /dev/null
+---
+babeltrace_packages:
+ - chrpath
+ - elfutils-devel
+ - glib2-devel
+ - libuuid-devel
+ - popt-devel
+ - python36-devel
+ - python3-sphinx
+ - swig
--- /dev/null
+---
+babeltrace_packages:
+ - chrpath
+ - elfutils-devel
+ - glib2-devel
+ - libuuid-devel
+ - popt-devel
+ - python3-devel
+ - python3-sphinx
+ - swig
+++ /dev/null
----
-__babeltrace_packages:
- - popt-devel
- - libuuid-devel
- - python36-devel
- - python3-sphinx
- - swig
- - glib2-devel
- - elfutils-devel
- - chrpath
--- /dev/null
+---
+babeltrace_packages:
+ - chrpath
+ - elfutils-devel
+ - glib2-devel
+ - libuuid-devel
+ - popt-devel
+ - python36-devel
+ - python3-sphinx
+ - swig
--- /dev/null
+---
+babeltrace_packages:
+ - chrpath
+ - elfutils-devel
+ - glib2-devel
+ - libuuid-devel
+ - popt-devel
+ - python3-devel
+ - python3-sphinx
+ - swig
---
-__babeltrace_packages:
- - popt-devel
- - libuuid-devel
- - python3-devel
-# - python3-sphinx
- - swig
+babeltrace_packages:
+ - chrpath
- glib2-devel
- glib2-devel-static
- libdw-devel
- libelf-devel
- - chrpath
+ - libuuid-devel
+ - popt-devel
+ - python3-devel
+# - python3-sphinx
+ - swig
---
# Include variables and define needed variables.
- name: Include OS-specific variables.
- include_vars: "{{ ansible_os_family }}.yml"
-
-- name: Define common_packages.
- set_fact:
- common_packages: "{{ __common_packages | list }}"
- when: common_packages is not defined
+ include_vars: "{{ item }}"
+ with_first_found:
+ - "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
+ - "{{ ansible_distribution }}.yml"
+ - "{{ ansible_os_family }}.yml"
# Setup/install tasks.
- include: setup-RedHat.yml
- when: ansible_os_family == 'RedHat'
+ when: ansible_os_family in ['RedHat', 'Rocky']
- include: setup-Debian.yml
when: ansible_os_family == 'Debian'
---
-- name: Define common_patterns.
- set_fact:
- common_patterns: "{{ __common_patterns | list }}"
- when: common_patterns is not defined
-
- name: Ensure common patterns are installed.
zypper: "name={{ common_patterns }} type=pattern state=present update_cache=yes"
---
-__common_packages:
- - sudo
- - openjdk11
- - git
- - vim
- - tree
- - htop
+common_packages:
- alpine-sdk
- - clang
- - automake
- autoconf
- - libtool
+ - automake
+ - bash
- bison
- - flex
- - perl
- - jq
- - cppcheck
+ - clang
- cloc
- - py-virtualenv
+ - coreutils
+ - cppcheck
- curl
+ - flex
- gettext
+ - git
+ - htop
+ - jq
+ - libtool
+ - openjdk11
- openssl-dev
- - coreutils
- - bash
- - shadow
+ - perl
+ - py-virtualenv
- rsync
+ - shadow
+ - sudo
+ - tree
+ - vim
---
-__common_packages:
- - openssh-server
- - sudo
- - default-jdk-headless
- - git
- - vim
- - emacs-nox
- - tree
- - htop
+common_packages:
+ - autoconf
+ - automake
+ - bison
- build-essential
- clang
- clang-tools
- - automake
- - autoconf
- - libtool-bin
- - bison
- - flex
- - libtap-harness-archive-perl
- - jq
- - cppcheck
- cloc
- - virtualenv
+ - cppcheck
- curl
+ - default-jdk-headless
+ - emacs-nox
+ - flex
- gettext
+ - git
+ - htop
+ - jq
- libssl-dev
+ - libtap-harness-archive-perl
+ - libtool-bin
+ - lzop
+ - openssh-server
+ - pbzip2
- psmisc
- rsync
- - pbzip2
- - lzop
+ - sudo
+ - tree
+ - vim
+ - virtualenv
---
-__common_packages:
- - openssh-server
- - sudo
- - java-11-openjdk-headless
- - git
- - vim
- - emacs-nox
- - tree
- - htop
-# - build-essential
- - clang
-# - clang-tools
- - automake
+common_packages:
- autoconf
- - libtool
+ - automake
- bison
- - flex
- - perl-Test-Harness
- - jq
-# - cppcheck
-# - cloc
- - python3-virtualenv
+ - clang
- curl
+ - emacs-nox
+ - flex
- gettext
+ - git
+ - htop
+ - java-11-openjdk-headless
+ - jq
+ - libtool
+ - lzop
+ - openssh-server
- openssl-devel
+ - perl-Test-Harness
- psmisc
+ - python3-virtualenv
- rsync
-# - pbzip2
- - lzop
+ - sudo
+ - tree
+ - vim
--- /dev/null
+RedHat.yml
\ No newline at end of file
---
-__common_patterns:
+common_patterns:
- base
- Minimal
- Basis-Devel
-__common_packages:
- - openssh
- - sudo
- - java-11-openjdk-headless
- - java-11-openjdk-devel
- - git-core
- - vim
- - tree
-# - htop
- - automake
+common_packages:
- autoconf
- - libtool
+ - automake
- bison
- - flex
-# - libtap-harness-archive-perl
-# - jq
-# - cppcheck
-# - cloc
-# - python-virtualenv
- curl
+ - flex
- gettext-runtime
+ - git-core
+ - java-11-openjdk-devel
+ - java-11-openjdk-headless
+# - jq
- libopenssl-devel
+# - libtap-harness-archive-perl
+ - libtool
+ - openssh
- psmisc
+# - python-virtualenv
+ - sudo
+ - tree
+ - vim
---
# Include variables and define needed variables.
- name: Include OS-specific variables.
- include_vars: "{{ ansible_os_family }}.yml"
-
-- name: Define liburcu_packages.
- set_fact:
- liburcu_packages: "{{ __liburcu_packages | list }}"
- when: liburcu_packages is not defined
+ include_vars: "{{ item }}"
+ with_first_found:
+ - "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
+ - "{{ ansible_distribution }}.yml"
+ - "{{ ansible_os_family }}.yml"
# Setup/install tasks.
- include: setup-RedHat.yml
- when: ansible_os_family == 'RedHat'
+ when: ansible_os_family in ['RedHat', 'Rocky']
- include: setup-Debian.yml
when: ansible_os_family == 'Debian'
---
-__liburcu_packages: []
+liburcu_packages: []
---
-__liburcu_packages: []
+liburcu_packages: []
---
-__liburcu_packages: []
+liburcu_packages: []
--- /dev/null
+RedHat.yml
\ No newline at end of file
---
-__liburcu_packages: []
+liburcu_packages: []
---
# Include variables and define needed variables.
- name: Include OS-specific variables.
- include_vars: "{{ ansible_os_family }}.yml"
-
-- name: Define lttng_tools_packages.
- set_fact:
- lttng_tools_packages: "{{ __lttng_tools_packages | list }}"
- when: lttng_tools_packages is not defined
-
-- name: Define lttng_tools_packages_no_recommends.
- set_fact:
- lttng_tools_packages_no_recommends: "{{ __lttng_tools_packages_no_recommends | list }}"
- when:
- - lttng_tools_packages_no_recommends is not defined
- - ansible_os_family == 'Debian' or ansible_os_family == 'Suse'
+ include_vars: "{{ item }}"
+ with_first_found:
+ - "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
+ - "{{ ansible_distribution }}.yml"
+ - "{{ ansible_os_family }}.yml"
# Setup/install tasks.
- include: setup-RedHat.yml
- when: ansible_os_family == 'RedHat'
+ when: ansible_os_family in ['RedHat', 'Rocky']
- include: setup-Debian.yml
when: ansible_os_family == 'Debian'
---
-__lttng_tools_packages:
- - popt-dev
- - libxml2-dev
- - bash-completion
+lttng_tools_packages:
- asciidoc
+ - bash-completion
+ - libxml2-dev
+ - popt-dev
- xmlto
---
-__lttng_tools_packages:
+lttng_tools_packages:
+ - bash-completion
+ - libmsgpack-dev
- libpopt-dev
- libxml2-dev
- - libmsgpack-dev
- - bash-completion
-__lttng_tools_packages_no_recommends:
+lttng_tools_packages_no_recommends:
- asciidoc
- xmlto
---
-__lttng_tools_packages:
- - popt-devel
- - libxml2-devel
- - bash-completion
+lttng_tools_packages:
- asciidoc
+ - bash-completion
+ - libxml2-devel
+ - popt-devel
- xmlto
--- /dev/null
+RedHat.yml
\ No newline at end of file
---
-__lttng_tools_packages:
- - popt-devel
- - libxml2-devel
+lttng_tools_packages:
- bash-completion
+ - libxml2-devel
+ - popt-devel
-__lttng_tools_packages_no_recommends:
+lttng_tools_packages_no_recommends:
- asciidoc
- xmlto
---
# Include variables and define needed variables.
- name: Include OS-specific variables.
- include_vars: "{{ ansible_os_family }}.yml"
-
-- name: Define lttng_ust_packages.
- set_fact:
- lttng_ust_packages: "{{ __lttng_ust_packages | list }}"
- when: lttng_ust_packages is not defined
+ include_vars: "{{ item }}"
+ with_first_found:
+ - "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
+ - "{{ ansible_distribution }}.yml"
+ - "{{ ansible_os_family }}.yml"
# Setup/install tasks.
- include: setup-RedHat.yml
- when: ansible_os_family == 'RedHat'
+ when: ansible_os_family in ['RedHat', 'Rocky']
- include: setup-Debian.yml
when: ansible_os_family == 'Debian'
---
-__lttng_ust_packages:
- - util-linux-dev
- - texinfo
- - python3
+lttng_ust_packages:
# - liblog4j1.2-java
- numactl-dev
+ - python3
+ - texinfo
+ - util-linux-dev
---
-__lttng_ust_packages:
- - uuid-dev
- - texinfo
- - python3
+lttng_ust_packages:
- liblog4j1.2-java
- liblog4j2-java
- libnuma-dev
+ - python3
+ - texinfo
+ - uuid-dev
---
-__lttng_ust_packages:
- - libuuid-devel
-# - texinfo
+lttng_ust_packages:
# - liblog4j1.2-java
+ - libuuid-devel
- numactl-devel
+# - texinfo
--- /dev/null
+RedHat.yml
\ No newline at end of file
---
-__lttng_ust_packages:
+lttng_ust_packages:
+ - libnuma-devel
- libuuid-devel
- - texinfo
- - python3
- log4j
- - libnuma-devel
+ - python3
+ - texinfo
- import_playbook: node_amd64.yml
- import_playbook: node_standalone.yml
- import_playbook: node_sles.yml
-- import_playbook: node_el8.yml
+- import_playbook: node_el.yml