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, 2019 in Ansible by Laksha

edited Feb 1, 2019 2,416 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, 2019 by Ansiha

Related Questions In Ansible

+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,053 views
+2 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP