Skip to content

Commit

Permalink
Update main.yml - change AND condition to OR
Browse files Browse the repository at this point in the history
Update main.yml - change AND condition to OR

Failed when deploying VM in Jenkins.. despite all molecule tests passing.
  • Loading branch information
martinfanning1 authored Nov 18, 2024
1 parent bd8c0a0 commit c89410e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/ohs/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

- name: Patch OHS
include_tasks: "patch.yml"
when: ohs_version is defined and ohs_version_status.results | selectattr('rc','greaterthan',0) | list | count > 0
when: ohs_version is defined or ohs_version_status.results | selectattr('rc','greaterthan',0) | list | count > 0

- name: Set up properties file
include_tasks: "config.yml"
Expand Down

0 comments on commit c89410e

Please sign in to comment.