Skip to content

Wrong tag reference in requirments.yaml #17

@mKlaris

Description

@mKlaris

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

  1. cd ansible-cozystack/examples/ubuntu
  2. ansible-galaxy install -r requirements.yml

Relevant logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions