Shareable Ansible roles
-
Create a
requirements.yml
in your Playbook folder with the following contents:--- - src: https://github.com/psiberia/ansible-roles.git scm: git version: origin/main
-
Install requirements and run your Playbook:
ansible-galaxy install -r requirements.yml ansible-playbook -i hosts site.yml