Yeah, this is true.  Point!

Just start a new play for that task and start a new play immediately after
if need be.

We should prefer this to a new keyword.

- hosts: webservers
  remote_user: foo
  tasks:
     - ...


- hosts: webservers
  remote_user: nagios
  tasks:
     - ...

- hosts: webservers
  remote_user: foo
  tasks:
     - ...







On Mon, Nov 25, 2013 at 9:00 PM, Brian Coca <[email protected]> wrote:

> remote_user: on the same task should do just that.
>
> --
> 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].
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Michael DeHaan <[email protected]>
CTO, AnsibleWorks, Inc.
http://www.ansibleworks.com/

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to