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 133 views

1 answer to this question.

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

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
145 views
0 votes
1 answer
0 votes
1 answer