This is a repository of reusable ansible roles.
requirements.yml
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.
(Note: you can extend this file to pull from multiple sources).
---
- src: https://github.com/yu000hong/ansible-roles/
name: ansible-roles
version: master
scm: git
call the rolls
When calling the roles you just need to ensure the folder structure is obeyed.
- name: setup monitoring
hosts: monitors
roles:
- ansible-roles/linux-service