title: Ansible Playbook for beginners
body: <p>I would like to ask about ansible playbook. Is it possible to use values from one role to another role( Role A to Role B). Both role is running on different host as one running in windows server and one is running on localhost. Is there any ways to do this? Thanks</p>
  <p>I tried using</p>
  <ul>
  <li>name: Pass variables to role
  include_role:
  name: retrieveinfo
  vars:
  user_output_fact2: &quot;{{user_output_fact}}&quot;</li>
  </ul>
  <p>I received an error:
  The powershell shell family is incompatible with the sudo become plugin</p>
  <p>I think its because one of my the role host is different (Role A and b has a different host)</p>