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

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/015b47d7-b1a1-4cf1-b12f-1bdc28684603%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to