Skip to content

installation with ansible-galaxy - collection #18

Open
@weakcamel

Description

@weakcamel

More a question: how can one install this filter as a collection?

https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#installing-collections-with-ansible-galaxy

$ cat requirements_filter.yml
---
collections:
  - src: https://github.com/jtyr/ansible-config_encoder_filters.git
    name: jtyr.config_encoder_filters

$ ansible-galaxy install -r requirements_filter.yml
Starting galaxy collection install process
Process install dependency map
ERROR! Failed to resolve the requested dependencies map. Could not satisfy the following requirements:
* jtyr.config_encoder_filters:* (direct request)
$ cat requirements_filter.yml
---
collections:
  - src: https://github.com/jtyr/ansible-config_encoder_filters.git
$ ansible-galaxy install -r requirements_filter.yml
ERROR! Neither the collection requirement entry key 'name', nor 'source' point to a concrete resolvable collection artifact. Also 'name' is not an FQCN. A valid collection name must be in the format <namespace>.<collection>. Please make sure that the namespace and the collection name  contain characters from [a-zA-Z0-9_] only.
$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions