You could use Ansible Galaxy to import your roles. I think this is the
sane approach.

On Thu, Mar 22, 2018 at 2:48 PM,  <[email protected]> wrote:
> Hi
>
> My playbook is executed from this directory /home/projectA/playbook and it
> contains roles directory.
> One of the task defined within a role of this playbook would like to call
> another role which is not defined under  /home/projectA/playbook/roles
> but within a different directory
>
> /home/projectB
> istio/
>   defaults/
>   meta/
>   tasks/
>   vars/
> main.yml
>
> Main file
> #######
> ---
> - hosts: localhost
>   gather_facts: true
>   roles:
>     - istio
>
> How can I within a /home/projectA/playbook/roles/roleA/tasks/main.yml calls
> the role "istio" ?
>
> Regards
>
> Charles
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/7672467b-cc78-47f8-a870-87c99dc270c2%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Marcos H. Alano
Linux System Administrator
[email protected]

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAO3Us%3Dkeow0FoCtMhUfaxDXpwhzLTbx1CpAbF0%3Dttr9D%3DPqvgg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to