splunk / splunk-ansible

Ansible playbooks for configuring and managing Splunk Enterprise and Universal Forwarder deployments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

galaxy.yaml is missing

Uquout7o opened this issue · comments

Hi,

this repository resembles the standard structure of an Ansible collection,
but doesn't contain a galaxy.yaml file.
Without it, it can't be installed via the ansible-galaxy collection install CLI command.
Please add the file to the root directory of the repo.

Thanks.

My collections/requirements.yaml looks like this:

  - name: https://github.com/splunk/splunk-ansible.git
    type: git
    src: https://github.com/splunk/splunk-ansible.git
    version: master
    scm: git

and this is the error message I get:

Starting galaxy collection install process
Process install dependency map
ERROR! git+https://github.com/splunk/splunk-ansible.git appears to be an SCM collection source, but the required galaxy.yml was not found. Append #path/to/collection/ to your URI (before the comma separated version, if one is specified) to point to a directory containing the galaxy.yml or directories of collections
commented

Using successfully this

$ cat requirements.yml
---

collections:
  - name: splunk-ansible
    src: https://github.com/splunk/splunk-ansible.git
    version: master