From daec1eb5d37249e37e938a030dc680b0bdc6befb Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Fri, 19 Jan 2024 11:01:16 -0500 Subject: [PATCH] ansible: Remove lttng-analyses role lttng-analyses is archived and not currently maintained Change-Id: Iae8c3172255088bec82f34fac907e05d6c206a61 Signed-off-by: Kienan Stewart --- automation/ansible/lava-all.yml | 1 - automation/ansible/node_all.yml | 1 - automation/ansible/node_amd64.yml | 1 - automation/ansible/node_i386.yml | 1 - automation/ansible/node_standalone.yml | 1 - .../roles/lttng-analyses/tasks/main.yml | 19 ------------------- .../lttng-analyses/tasks/setup-Alpine.yml | 7 ------- .../lttng-analyses/tasks/setup-Debian.yml | 7 ------- .../lttng-analyses/tasks/setup-RedHat.yml | 5 ----- .../roles/lttng-analyses/vars/Alpine.yml | 2 -- .../roles/lttng-analyses/vars/Debian.yml | 5 ----- .../roles/lttng-analyses/vars/RedHat.yml | 2 -- .../roles/lttng-analyses/vars/Suse.yml | 5 ----- automation/ansible/site.yml | 1 - 14 files changed, 58 deletions(-) delete mode 100644 automation/ansible/roles/lttng-analyses/tasks/main.yml delete mode 100644 automation/ansible/roles/lttng-analyses/tasks/setup-Alpine.yml delete mode 100644 automation/ansible/roles/lttng-analyses/tasks/setup-Debian.yml delete mode 100644 automation/ansible/roles/lttng-analyses/tasks/setup-RedHat.yml delete mode 100644 automation/ansible/roles/lttng-analyses/vars/Alpine.yml delete mode 100644 automation/ansible/roles/lttng-analyses/vars/Debian.yml delete mode 100644 automation/ansible/roles/lttng-analyses/vars/RedHat.yml delete mode 100644 automation/ansible/roles/lttng-analyses/vars/Suse.yml diff --git a/automation/ansible/lava-all.yml b/automation/ansible/lava-all.yml index a523d1f..eef6248 100644 --- a/automation/ansible/lava-all.yml +++ b/automation/ansible/lava-all.yml @@ -6,4 +6,3 @@ - lttng-ust - lttng-tools - lttng-modules - - lttng-analyses diff --git a/automation/ansible/node_all.yml b/automation/ansible/node_all.yml index 31b2e11..836971c 100644 --- a/automation/ansible/node_all.yml +++ b/automation/ansible/node_all.yml @@ -9,4 +9,3 @@ - lttng-ust - lttng-tools - lttng-modules - - lttng-analyses diff --git a/automation/ansible/node_amd64.yml b/automation/ansible/node_amd64.yml index 427ba7e..2e7cc1a 100644 --- a/automation/ansible/node_amd64.yml +++ b/automation/ansible/node_amd64.yml @@ -10,5 +10,4 @@ - lttng-ust - lttng-tools - lttng-modules - - lttng-analyses - libs-i386 diff --git a/automation/ansible/node_i386.yml b/automation/ansible/node_i386.yml index eb84244..1c68a05 100644 --- a/automation/ansible/node_i386.yml +++ b/automation/ansible/node_i386.yml @@ -6,4 +6,3 @@ - liburcu - lttng-ust - lttng-tools - - lttng-analyses diff --git a/automation/ansible/node_standalone.yml b/automation/ansible/node_standalone.yml index 50a2477..017037c 100644 --- a/automation/ansible/node_standalone.yml +++ b/automation/ansible/node_standalone.yml @@ -8,7 +8,6 @@ - lttng-ust - lttng-tools - lttng-modules - - lttng-analyses - libs-i386 # Standalone (root) nodes should use fixed IP addresses # DHCP can be flaky during destructive tests which change diff --git a/automation/ansible/roles/lttng-analyses/tasks/main.yml b/automation/ansible/roles/lttng-analyses/tasks/main.yml deleted file mode 100644 index 7cb5867..0000000 --- a/automation/ansible/roles/lttng-analyses/tasks/main.yml +++ /dev/null @@ -1,19 +0,0 @@ ---- -# Include variables and define needed variables. -- name: Include OS-specific variables. - include_vars: "{{ ansible_os_family }}.yml" - -- name: Define lttng_analyses_packages. - set_fact: - lttng_analyses_packages: "{{ __lttng_analyses_packages | list }}" - when: lttng_analyses_packages is not defined - -# Setup/install tasks. -- include: setup-RedHat.yml - when: ansible_os_family == 'RedHat' - -- include: setup-Debian.yml - when: ansible_os_family == 'Debian' - -- include: setup-Alpine.yml - when: ansible_os_family == 'Alpine' diff --git a/automation/ansible/roles/lttng-analyses/tasks/setup-Alpine.yml b/automation/ansible/roles/lttng-analyses/tasks/setup-Alpine.yml deleted file mode 100644 index 8594e96..0000000 --- a/automation/ansible/roles/lttng-analyses/tasks/setup-Alpine.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: Update apk cache. - apk: update_cache=yes - -- name: Ensure lttng-analyses build dependencies are installed. - apk: "name={{ lttng_analyses_packages }} state=present" - diff --git a/automation/ansible/roles/lttng-analyses/tasks/setup-Debian.yml b/automation/ansible/roles/lttng-analyses/tasks/setup-Debian.yml deleted file mode 100644 index 8ae522d..0000000 --- a/automation/ansible/roles/lttng-analyses/tasks/setup-Debian.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: Update apt cache. - apt: update_cache=yes cache_valid_time=86400 - -- name: Ensure lttng-analyses build dependencies are installed. - apt: "name={{ lttng_analyses_packages }} state=present" - diff --git a/automation/ansible/roles/lttng-analyses/tasks/setup-RedHat.yml b/automation/ansible/roles/lttng-analyses/tasks/setup-RedHat.yml deleted file mode 100644 index 5572331..0000000 --- a/automation/ansible/roles/lttng-analyses/tasks/setup-RedHat.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- name: Ensure lttng-analyses build dependencies are installed. - dnf: - name: "{{ lttng_analyses_packages }}" - state: installed diff --git a/automation/ansible/roles/lttng-analyses/vars/Alpine.yml b/automation/ansible/roles/lttng-analyses/vars/Alpine.yml deleted file mode 100644 index a882762..0000000 --- a/automation/ansible/roles/lttng-analyses/vars/Alpine.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -__lttng_analyses_packages: [] diff --git a/automation/ansible/roles/lttng-analyses/vars/Debian.yml b/automation/ansible/roles/lttng-analyses/vars/Debian.yml deleted file mode 100644 index abb147f..0000000 --- a/automation/ansible/roles/lttng-analyses/vars/Debian.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -__lttng_analyses_packages: - - virtualenv - - python3-pyparsing - - python3-progressbar diff --git a/automation/ansible/roles/lttng-analyses/vars/RedHat.yml b/automation/ansible/roles/lttng-analyses/vars/RedHat.yml deleted file mode 100644 index 2b88bab..0000000 --- a/automation/ansible/roles/lttng-analyses/vars/RedHat.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -__lttng_modules_packages: [] diff --git a/automation/ansible/roles/lttng-analyses/vars/Suse.yml b/automation/ansible/roles/lttng-analyses/vars/Suse.yml deleted file mode 100644 index abb147f..0000000 --- a/automation/ansible/roles/lttng-analyses/vars/Suse.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -__lttng_analyses_packages: - - virtualenv - - python3-pyparsing - - python3-progressbar diff --git a/automation/ansible/site.yml b/automation/ansible/site.yml index de313f4..a9fef39 100644 --- a/automation/ansible/site.yml +++ b/automation/ansible/site.yml @@ -26,7 +26,6 @@ - lttng-ust - lttng-tools - lttng-modules - - lttng-analyses - libs-i386 - hosts: developer roles: -- 2.34.1