<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    I guess you want<br>
    <br>
    --fork &lt;number&gt;<br>
    <br>
    to set the number o forks<br>
    <br>
    Cheers<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 07.02.2014 15:27, Anshu Prateek
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAK3Kwn4m98QSYokLNCyXqGcsiVJ1+JgNhA-w4uQpQqgD3BtC9g@mail.gmail.com"
      type="cite">
      <pre wrap="">Use the serial keyword

<a class="moz-txt-link-freetext" href="http://docs.ansible.com/playbooks_delegation.html">http://docs.ansible.com/playbooks_delegation.html</a>


On Fri, Feb 7, 2014 at 7:28 PM, AurĂ©lien Bompard <a class="moz-txt-link-rfc2396E" href="mailto:gauret@free.fr">&lt;gauret@free.fr&gt;</a> wrote:

</pre>
      <blockquote type="cite">
        <pre wrap=""> Hi y'all!


Small ansible question: I have this ansible playbook which uploads and
runs a script to set some permissions in the database. This worked fine
while the playbook was only executed on a single server, but now that
mailman01 and 02 are being setup for prod, the script is executed on both
machines, and tries to set the permissions in the same DB server at the
same time, which produces a psycopg2.InternalError (tuple concurrently
updated).

Any idea how I can ask Ansible to not run this task in parallel on both
servers? Any other way around this?


Thanks,

Aurélien

_______________________________________________
infrastructure mailing list
<a class="moz-txt-link-abbreviated" href="mailto:infrastructure@lists.fedoraproject.org">infrastructure@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/infrastructure">https://admin.fedoraproject.org/mailman/listinfo/infrastructure</a>

</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
infrastructure mailing list
<a class="moz-txt-link-abbreviated" href="mailto:infrastructure@lists.fedoraproject.org">infrastructure@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/infrastructure">https://admin.fedoraproject.org/mailman/listinfo/infrastructure</a></pre>
    </blockquote>
    <br>
  </body>
</html>