Browse Source

Fix condition check if previous task was skipped

Required as 'copy_src_dir | length' is equal 3 in case previous
task is skipped

Change-Id: Ie16c35ebab2136c04747271b49bd08ef1c57de23
changes/26/729626/3
Alex Katz 1 year ago
committed by Federico Ressi
parent
commit
f13cb17e9d
  1. 2
      infrared_plugin/roles/tobiko-ir-deploy/tasks/main.yaml

2
infrared_plugin/roles/tobiko-ir-deploy/tasks/main.yaml

@ -28,7 +28,7 @@
- (deploy_src_dir | length) > 0
- when: (copy_src_dir | length) == 0
- when: copy_src_dir is skipped
block:
- name: "override deploy_git_version and deploy_src_dir because deploy_git_refspec is '{{ deploy_git_refspec }}'"

Loading…
Cancel
Save