What will be the command to pass username and password for both the host 
considering none of the host is localhost.

On Saturday, September 24, 2016 at 8:58:31 AM UTC+5:30, Brian Coca wrote:
>
> A playbook can have multiple plays:
>
> - hosts: host_for_play_1
>   tasks:
>    - debug: msg='play 1 task'
> ​
> ​    ...
>
> ​
> ​- hosts: host_for_play_2
>   tasks:
>    - debug: msg='play 2 task'​
>     ....
>
>
> ----------
> Brian Coca
>
>

-- 
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/b48fe0dc-a278-4d6d-b475-80e9a81ed96d%40googlegroups.com.

Reply via email to