Could you use ansible-playbook --start-at-task
On Thursday, January 15, 2015 at 8:33:27 PM UTC, Peter Mooshammer wrote: > > Hi, > > I have a role that does everything to standup a server on aws - create a > network and provision a VM. But sometimes I only want to run only the part > that deploys a new server. > > Currently I simple include these sub-tasks in a playbook, which I don't > really like: > > tasks: > # should be called as a role, but only parts of it ... > - include: aws/tasks/provision-net.yml > - include: aws/tasks/provision-vm.yml > > thanks > > Peter > -- 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/e95a4f78-0582-4155-bd08-bc1cfa0d7a03%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
