# ERROR: msg: this module requires key=value arguments

**URL:** <https://forum.ansible.com/t/error-msg-this-module-requires-key-value-arguments/18476>\
**Category:** Ansible Project\
**Created:** [June 11, 2015, 4:48pm UTC](https://forum.ansible.com/t/error-msg-this-module-requires-key-value-arguments/18476 "2015-06-11T16:48:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guy\_Matz1](https://avatars.discourse-cdn.com/v4/letter/g/b5e925/32.png) [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Post date:** [June 11, 2015, 4:48pm UTC](https://forum.ansible.com/t/error-msg-this-module-requires-key-value-arguments/18476/1 "2015-06-11T16:48:08Z")

</div>

Hi!!

Having issues with command tasks . . .

gmatz@fuzzybunny ~/Code/ansible-local $ ansible-playbook --version  
ansible-playbook 1.9.1 (detached HEAD b47d1d7e69) last updated 2015/06/10 17:15:55 (GMT -400)  
lib/ansible/modules/core: (detached HEAD d6ed6113a7) last updated 2015/06/10 10:07:33 (GMT -400)  
lib/ansible/modules/extras: (detached HEAD 57813a2e74) last updated 2015/06/10 10:08:25 (GMT -400)  
v2/ansible/modules/core: (detached HEAD 34784b7a61) last updated 2015/06/11 11:11:04 (GMT -400)  
v2/ansible/modules/extras: (detached HEAD 46e316a20a) last updated 2015/06/11 11:11:21 (GMT -400)  
configured module search path = /usr/share/ansible

- name: Get VBox version for installing extension pack  
command: /usr/bin/VBoxManage --version  
register: vbox\_ver  
changed\_when: False

TASK: [workstation | Get VBox version for installing extension pack] \*\*\*\*\*\*\*\*\*\*  
failed: [localhost] =\> {“changed”: false, “failed”: true}  
msg: this module requires key=value arguments ([‘/usr/bin/VBoxManage’, ‘–version’])

This work a few months ago . . . doesn’t look like anything has changed with the command module . . .

I have tried quoting the contents of the command, but that didn’t help. any thoughts would be appreciated!!

Thanks a lot,

Guy

---

<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:** [June 11, 2015, 4:54pm UTC](https://forum.ansible.com/t/error-msg-this-module-requires-key-value-arguments/18476/2 "2015-06-11T16:54:13Z")

</div>

You could have a problem with the ‘command’ module in devel in the ansible-modules-core repo and running ansible 1.9.

There are changes for ansible 2.0 that impacted the command module in ansible-modules-core. So the devel version of the command module is not compatible with ansible 1.9.

You might want to checkout the stable-1.9 branch and re-init your submodules.

---

<div class="post-metadata">

**Author:** ![Guy\_Matz](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@Guy\_Matz](https://forum.ansible.com/u/Guy_Matz)\
**Post date:** [June 11, 2015, 6:02pm UTC](https://forum.ansible.com/t/error-msg-this-module-requires-key-value-arguments/18476/3 "2015-06-11T18:02:17Z")

</div>

That did it! Thanks!!
