Add refs/heads to git show-ref command

This commit is contained in:
Ricardo Carrillo Cruz 2015-05-13 13:01:16 +02:00
parent 13b0280408
commit 7e75407b1c
1 changed files with 1 additions and 1 deletions

View File

@ -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