Skip to content

Commit

Permalink
Check if updating service is present in update services list
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeevDmitry committed Feb 6, 2025
1 parent 12967db commit 33fa205
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions controls/roles/update-services/tasks/update-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@

- name: Check service is in update list
set_fact:
service_exists: true
when: service_configuration.service in update_data[service_configuration.network]
service_exists: "{{ service_configuration.service in update_data[service_configuration.network] | default({}) }}"

- name: Extract docker image and version
set_fact:
Expand Down

0 comments on commit 33fa205

Please sign in to comment.