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
This commit is contained in:
Alex Katz 2020-05-20 17:46:31 +03:00 committed by Federico Ressi
parent 302a5711c5
commit f13cb17e9d
1 changed files with 1 additions and 1 deletions

View File

@ -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 }}'"