Skip to content

Commit

Permalink
Use edpm_service_types in edpm_update
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
slagle authored and openshift-cherrypick-robot committed Jul 23, 2024
1 parent 1b4da02 commit 0282f26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/edpm_update/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
2 changes: 1 addition & 1 deletion roles/edpm_update/molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
name: osp.edpm.edpm_update
vars:
edpm_update_enable_containers_update: false
edpm_services: []
edpm_service_types: []

0 comments on commit 0282f26

Please sign in to comment.