This might be a silly question, but what happens when you run that command
locally on the target?
On Thursday, June 11, 2015 at 8:18:10 AM UTC-7, Guy Matz wrote:
>
> 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
>
--
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/df7d873e-5e77-49b7-8a27-cb3ab69c2b58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.