Is there any way to override the current host for a given task?

I want to set up a recurring database copy, so I need to run some commands 
within a playbook (all of which apply only if a variable is turned on at 
the command-line). This sequence would begin by dumping the source database 
and copying it, so it needs to be a different hostname from the one being 
processed. I tried "host" "hosts" "hostnames" but none worked.

-- 
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/9563e962-9298-48ad-87df-162b63f126cd%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to