diff --git a/ansible/ci-build-collector.yml b/ansible/ci-build-collector.yml index 7891fa4c54d..79194ce7777 100644 --- a/ansible/ci-build-collector.yml +++ b/ansible/ci-build-collector.yml @@ -18,7 +18,7 @@ repo: https://github.com/stackrox/collector dest: "{{ collector_root }}" version: "{{ collector_git_sha }}" - refspec: "+{{ collector_git_ref | replace('refs/', '') }}" + refspec: "+{{ collector_git_ref }}" recursive: true when: clone_repository