On 01. nov. 2017 16:40, [email protected] wrote:
> Is there a way to delegate a group of tasks to a certain host from inside a
> role?  As in, I want to run: pull a git repo, run composer install and make
> on one host  then take the compiled files to other hosts in the role.

You have delegate_to: and with block: you can group task together 


-- 
Kai Stian Olstad

-- 
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/e1a92b05-d94e-4e63-f13b-3b591ac5e9e1%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to