This is a repository of my own reusable ansible roles & plugins.
$ ansible-galaxy collection install https://github.com/kriansa/ansible-collection.commons
Your requirements.yml
is used by the ansible-galaxy
tool to understand what sources to use. It
should list this github repository as the source.
---
collections:
- name: https://github.com/kriansa/ansible-collection.commons
type: git
version: master
Then you will need to pull all the requirements using the command below:
$ ansible-galaxy install -r requirements.yml
When calling the roles you just need to ensure the folder structure is followed.
- roles:
- kriansa.commons.os_base
Apache 2.0