Delegating group of tasks in a role

11 views
Skip to first unread message

mark....@neonova.net

unread,
Nov 1, 2017, 11:40:13 AM11/1/17
to Ansible Project
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.

Does that make sense?

Kai Stian Olstad

unread,
Nov 1, 2017, 12:41:05 PM11/1/17
to ansible...@googlegroups.com
You have delegate_to: and with block: you can group task together


--
Kai Stian Olstad
Reply all
Reply to author
Forward
0 new messages