From 0282f263f3e264fce2d3be0573db4c13f31ed3d1 Mon Sep 17 00:00:00 2001 From: James Slagle Date: Mon, 22 Jul 2024 13:16:08 -0400 Subject: [PATCH] Use edpm_service_types in edpm_update The list of service types is added as an ansible variable to the inventory as edpm_service_types. This will be used instead of edpm_services since service names could be any custom value. edpm-ansible roles such as edpm_update, need a list of consistent service identifiers (types instead of names), so it knows which other roles to include for update tasks. Jira: https://issues.redhat.com/browse/OSPRH-8107 Signed-off-by: James Slagle --- roles/edpm_update/defaults/main.yml | 2 +- roles/edpm_update/molecule/default/converge.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/edpm_update/defaults/main.yml b/roles/edpm_update/defaults/main.yml index c1704c8f4..724beab4b 100644 --- a/roles/edpm_update/defaults/main.yml +++ b/roles/edpm_update/defaults/main.yml @@ -27,4 +27,4 @@ edpm_update_enable_containers_update: true edpm_update_exclude_packages: - openvswitch -edpm_update_running_services: "{{ edpm_services }}" +edpm_update_running_services: "{{ edpm_service_types }}" diff --git a/roles/edpm_update/molecule/default/converge.yml b/roles/edpm_update/molecule/default/converge.yml index 0aa59cf3e..b927a2690 100644 --- a/roles/edpm_update/molecule/default/converge.yml +++ b/roles/edpm_update/molecule/default/converge.yml @@ -23,4 +23,4 @@ name: osp.edpm.edpm_update vars: edpm_update_enable_containers_update: false - edpm_services: [] + edpm_service_types: []