# ansible-playbook (still) ignores --limit option (#6449)

**URL:** <https://forum.ansible.com/t/ansible-playbook-still-ignores-limit-option-6449/19207>\
**Category:** Ansible Project\
**Created:** [September 8, 2015, 5:09pm UTC](https://forum.ansible.com/t/ansible-playbook-still-ignores-limit-option-6449/19207 "2015-09-08T17:09:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Addison](https://avatars.discourse-cdn.com/v4/letter/j/b2d939/32.png) [@James\_Addison](https://forum.ansible.com/u/James_Addison)\
**Post date:** [September 8, 2015, 5:09pm UTC](https://forum.ansible.com/t/ansible-playbook-still-ignores-limit-option-6449/19207/1 "2015-09-08T17:09:38Z")

</div>

[ansible-playbook ignores --limit option · Issue #6449 · ansible/ansible · GitHub](https://github.com/ansible/ansible/issues/6449) is still an issue in ansible 1.9.3 as far as I can tell. A previous commenter said it was still existing on 1.8.4. Here’s my vars, inventory and playbook: [http://dpaste.com/30GGFNH](http://dpaste.com/30GGFNH). I run it on the command line (OSX 10.10.5) with:

# ansible-playbook -i inventory/create/staging create-servers.yml --extra-vars “xgroup=groups.staging”

Note that I have to pass in `groups.staging` as an extra variable to get around the bug in question. This playbook creates ‘preview01’ on Linode and secures the server just fine. The goal is to be able to run this script against ‘inventory/create/production’ and have it create several servers under the ‘production’ group.

Once the servers are created, I can then run my provisioning playbooks, using the Linode dynamic inventory module.

Is there another way to do this, or am I doing things wrong?

Thanks,  
James
