First off, I am pretty new to Ansible roles, so please bear with me. There is a set of roles in a module (
https://github.com/redhat-cop/casl-ansible), and I want to use a role within that module called `oc-apply`. How do I reference that?
I created a YAML file to install the module:
# This is the Ansible Galaxy requirements file to pull in the correct roles
# to support the operation of CASL provisioning/runs.
- src: https://github.com/redhat-cop/casl-ansible
scm: git
version: master
And a playbook which is wanting to use the `oc-apply` role within that module
---
- hosts: localhost
roles:
- casl-ansible/oc-apply
Then I installed the module using galaxy
ansible-galaxy install --roles-path . -r casl-ansible.yml
But I cannot seem to figure out how to properly reference the role inside of `casl-ansible`. Any suggestions would be appreciated!!!
Cheers,
Deven