# Ansible parameter "run\_once" not working

**URL:** <https://forum.ansible.com/t/ansible-parameter-run-once-not-working/15834>\
**Category:** Ansible Developer\
**Tags:** ubuntu\
**Created:** [August 1, 2014, 2:52pm UTC](https://forum.ansible.com/t/ansible-parameter-run-once-not-working/15834 "2014-08-01T14:52:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![elwood218](https://avatars.discourse-cdn.com/v4/letter/e/45deac/32.png) [@elwood218](https://forum.ansible.com/u/elwood218)\
**Post date:** [August 1, 2014, 2:52pm UTC](https://forum.ansible.com/t/ansible-parameter-run-once-not-working/15834/1 "2014-08-01T14:52:40Z")

</div>

Hello to all,

according to [http://docs.ansible.com/playbooks\_delegation.html#run-once](http://docs.ansible.com/playbooks_delegation.html#run-once) there is a parameter run\_once to execute a task only on one target.  
For me this is not runnung! ☹ Gettting this error message:  
ERROR: run\_once is not a legal parameter in an Ansible task or handler

Do you have some advices for me?

Ansible version: 1.6.10  
OS: Ubuntu 14.04

---

<div class="post-metadata">

**Author:** ![Michael\_Peters](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@Michael\_Peters](https://forum.ansible.com/u/Michael_Peters)\
**Post date:** [August 1, 2014, 3:02pm UTC](https://forum.ansible.com/t/ansible-parameter-run-once-not-working/15834/2 "2014-08-01T15:02:21Z")

</div>

I only works in the dev version, not in a release yet. The docs should  
probably mention which version it's in but I'm not sure which version  
it will appear in.

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [August 1, 2014, 3:04pm UTC](https://forum.ansible.com/t/ansible-parameter-run-once-not-working/15834/3 "2014-08-01T15:04:17Z")

</div>

It will appear in 1.7

---

<div class="post-metadata">

**Author:** ![elwood218](https://avatars.discourse-cdn.com/v4/letter/e/45deac/32.png) [@elwood218](https://forum.ansible.com/u/elwood218)\
**Post date:** [August 1, 2014, 5:45pm UTC](https://forum.ansible.com/t/ansible-parameter-run-once-not-working/15834/4 "2014-08-01T17:45:51Z")

</div>

Thank u for quick answer! 🙂
