Add refs/heads to git show-ref command
This commit is contained in:
parent
13b0280408
commit
7e75407b1c
@ -12,7 +12,7 @@
|
||||
chdir: /tmp/infra-ansible/system-config/production
|
||||
register: checked_out_branch
|
||||
|
||||
- command: git show-ref --verify --quiet "{{ system_config_branch }}"
|
||||
- command: git show-ref --verify --quiet refs/heads/"{{ system_config_branch }}"
|
||||
args:
|
||||
chdir: /tmp/infra-ansible/system-config/production
|
||||
register: system_config_branch_exists
|
||||
|
Loading…
x
Reference in New Issue
Block a user