Error saying "msg: unsupported parameter for module: deb"

0 votes

This documentation snippet tells that the aptitute module allows installation from .deb file, like this:

# Install a .deb package
- apt: deb=/tmp/mypackage.deb

I get the following message when I run it. 

- name: install riak
  apt: deb=/data/riak/riak.deb update_cache=no

produces this output:

TASK: [riak | install riak] *************************************************** 
failed: [riak-server-1] => {"failed": true}
msg: unsupported parameter for module: deb
Feb 1 in Ansible by Laksha

edited Feb 1 44 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Hey @Laksha, I think an older version of Ansible is blocking your task. Uninstall the older version and reinstall it. 

sudo apt-get remove ansible

answered Feb 1 by Ansiha

Related Questions In Ansible

+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.