I am trying a playbook for a role and calling another role with in it.
role1 where i am running playbook need to be executed on windows hosts,
role 2 which is being called in role1 needs to be executed on
localhost(linux).
this is from the tasks/main.yml file for role1.
but still it is picking windows node from role1 and failing..
- name: calling serverdata role here
include_role:
name: serverdata (role2)
tasks_from: main.yml
apply:
delegate_to: localhost
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/18f6e3a2-5f79-43a2-9d44-2b09e18fa73en%40googlegroups.com.