univention / ansible-modules

Ansible Modules for UCS
GNU General Public License v3.0
11 stars 6 forks source link

Make libary ansible galaxy compatible #1

Closed ofriedri closed 2 years ago

ofriedri commented 3 years ago

This library should be made compatible to Ansible galaxy, so that it can be easily installed, like:

ansible-galaxy install -c --roles-path roles --role-file requirements-external.yml

With the following requirements-external.yml:

---

roles:
  - name: ucr-facts
    scm: git
    version: v0.1.1
    src: https://github.com/univention/ansible-modules.git

To make this work, this repo has to adhere to the ansible galaxy structure by providing some meta information, see https://github.com/ofriedri/univention-ansible-ucr for reference.

ofriedri commented 3 years ago

Addition: instead of a role, this repo qualifies for an ansible collection. Ref: https://docs.ansible.com/ansible/devel/dev_guide/developing_collections.html#developing-collections

ofriedri commented 2 years ago

https://galaxy.ansible.com/univention/ucs_modules