Ansible 1.7 added the new "run_once" keyword so that a given action will only run once for that host list.
On Fri, Aug 8, 2014 at 10:08 AM, Guy Matz <[email protected]> wrote: > Hi! I have a few django servers . . . I would like to run a syncdb in my > playbook, but only need/want one of the django servers in the group to run > that play . . . do I need to designate a machine to run that or is there an > easier way? > > Thanks!! > > -- > 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/0253c2bf-768c-42ce-aa46-e5d0618cd09c%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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/CAJQqANe%2BJmFnp7mdgDcNOQb80WHFvgNEoSwgX-pcR-bi0ZgTgA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
