Skip to content

Commit

Permalink
Update main.yaml - add in original when check
Browse files Browse the repository at this point in the history
Update main.yaml - add in original when check
  • Loading branch information
Martin Fanning committed Nov 12, 2024
1 parent 804b658 commit ca1a7e4
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
when: ohs_version is defined and 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 ca1a7e4

Please sign in to comment.