(A) what version of Ansible are you using? This feature is new in 1.7 - I'm going to verify this is referenced as such in the docs now, since that's come up before.
(B) If you are on the development branch, when you say it didn't work, what does that mean? On Mon, Aug 4, 2014 at 4:21 AM, <[email protected]> wrote: > Hi there, > > is there any way to run a local_action task only once? > I tried the following but it doesn't work: > > - name: gather public keys to be installed > local_action: shell cat public-keys/*.pub > run_once: true > changed_when: False > sudo: False > register: keys > > Is this possible at all? > > Cheers > Luka > > -- > 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/301c13f9-2eea-46c7-b545-c5281970b462%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/301c13f9-2eea-46c7-b545-c5281970b462%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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/CA%2BnsWgxU92TwZ%3DnffZcq0zJYRLxvh-fhM5-h5xMXvTcScdKXeQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
