# this module requires key=value arguments ??

**URL:** <https://forum.ansible.com/t/this-module-requires-key-value-arguments/18500>\
**Category:** Ansible Project\
**Created:** [June 15, 2015, 10:46am UTC](https://forum.ansible.com/t/this-module-requires-key-value-arguments/18500 "2015-06-15T10:46:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Barry\_Kaplan](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Post date:** [June 15, 2015, 10:46am UTC](https://forum.ansible.com/t/this-module-requires-key-value-arguments/18500/1 "2015-06-15T10:46:00Z")

</div>

I have

`  
shell: bin/plugin -install {{item.name}} chdir={{elasticsearch\_home}}

`

Which is producing the error:

`"msg": "this module requires key=value arguments (['bin/plugin', '-install', 'lmenezes/elasticsearch-kopf/master', 'chdir=/usr/share/elasticsearch', '#USE_SHELL'])"`

What does this mean? This syntax is right out of the docs (and was working yesterday to boot).

---

<div class="post-metadata">

**Author:** ![Barry\_Kaplan](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Post date:** [June 15, 2015, 10:51am UTC](https://forum.ansible.com/t/this-module-requires-key-value-arguments/18500/2 "2015-06-15T10:51:13Z")

</div>

Ok, I think this has to do with me trying to use 1.9.2-rc1. When I do a fresh checkout I get submodules that have lots more stuff than when after I run

git submodule update --init --recursive

After switching to the 1.9.2 tag. I’m clearly not understanding to keep the submodules in sync with the brach/tag I have select. Are there developer docs that describe this that I have missed?

---

<div class="post-metadata">

**Author:** ![Barry\_Kaplan](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Post date:** [June 15, 2015, 10:57am UTC](https://forum.ansible.com/t/this-module-requires-key-value-arguments/18500/3 "2015-06-15T10:57:14Z")

</div>

Well I scp’ed my ansible checkout from my mac to my linux and all works now. So yes, it must be mismatches in the ansible branch and modules. But I have no idea how I got my mac into the state its in (ie, working) that is different from what I did with my linux box.

I have been trying to run with 1.9.2-rc. But is that much different from master/2.0? Should I just stay on master?

---

<div class="post-metadata">

**Author:** ![j.r.hawkesworth](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Post date:** [June 15, 2015, 12:25pm UTC](https://forum.ansible.com/t/this-module-requires-key-value-arguments/18500/4 "2015-06-15T12:25:45Z")

</div>

It depends on what your goals are.

1.9.2 will be maintenance release of the v 1 codebase.

Current devel, which will eventually be 2.0, has completely refactored core.
