Environment
- Ansible version: >= 2.15
- Collection version: 1.1.3
- Kubernetes distribution (k3s/kubeadm/RKE2): k3s
- OS: Ubuntu
Expected behavior
cozystack.installer:1.1.3 was installed successfully
Actual behavior
Mistake in https://github.com/cozystack/ansible-cozystack/blob/main/examples/ubuntu/requirements.yml
ansible-galaxy install -r requirements.yml
[ERROR]: Failed to switch a cloned Git repo https://github.com/cozystack/ansible-cozystack.git to the requested revision 1.1.3: Command '('/usr/bin/git', 'checkout', '1.1.3')' returned non-zero exit status 1. Failed to switch a cloned Git repo https://github.com/cozystack/ansible-cozystack.git to the requested revision 1.1.3. <<< caused by >>> Command '('/usr/bin/git', 'checkout', '1.1.3')' returned non-zero exit status 1.
When I changed to ref: v1.1.3 it worked.
Steps to reproduce
cd ansible-cozystack/examples/ubuntu
ansible-galaxy install -r requirements.yml
Relevant logs
Environment
Expected behavior
cozystack.installer:1.1.3 was installed successfully
Actual behavior
Mistake in
https://github.com/cozystack/ansible-cozystack/blob/main/examples/ubuntu/requirements.ymlansible-galaxy install -r requirements.yml[ERROR]: Failed to switch a cloned Git repo https://github.com/cozystack/ansible-cozystack.git to the requested revision 1.1.3: Command '('/usr/bin/git', 'checkout', '1.1.3')' returned non-zero exit status 1. Failed to switch a cloned Git repo https://github.com/cozystack/ansible-cozystack.git to the requested revision 1.1.3. <<< caused by >>> Command '('/usr/bin/git', 'checkout', '1.1.3')' returned non-zero exit status 1.
When I changed to
ref: v1.1.3it worked.Steps to reproduce
cd ansible-cozystack/examples/ubuntuansible-galaxy install -r requirements.ymlRelevant logs