Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider adding a packaging module for the snap universal package manager #39155

Closed
smoyer64 opened this issue Apr 23, 2018 · 12 comments

Comments

@smoyer64
Copy link

commented Apr 23, 2018

SUMMARY

The Snap package manager provides the ability to install software for Linux distributions including (as of the creation of this feature request):

  • Ubuntu
  • Debian
  • Mint
  • Gentoo
  • Arch
  • Fedora
  • OpenWrt
  • Yocto
  • OpenEmbedded
  • OpenSUSE
  • Manjaro
  • Solus

Supporting this package manager would allow a lot of the OS-based conditional execution in playbooks to be replaces with a single play. Note that it's still early but the number of applications that can be installed via snap is growing quickly.

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

Module name (path): Packaging -> OS -> Snap

@ansibot

This comment has been minimized.

Copy link
Contributor

commented Apr 23, 2018

@smoyer64 Greetings! Thanks for taking the time to open this issue. In order for the community to handle your issue effectively, we need a bit more information.

Here are the items we could not find in your description:

  • component name

Please set the description of this issue with this template:
https://raw.githubusercontent.com/ansible/ansible/devel/.github/ISSUE_TEMPLATE.md

click here for bot help

@smoyer64

This comment has been minimized.

Copy link
Author

commented Apr 23, 2018

@ansibot I did read through the template and since this is a proposal for a component that doesn't (yet?) exist, it seemed a bit presumptuous to name the new module(s). I provided the summary section though perhaps I should have left the Markdown so that you could parse the issue.

@webknjaz

This comment has been minimized.

Copy link
Member

commented Apr 24, 2018

@smoyer64 please update the description using template from https://raw.githubusercontent.com/ansible/ansible/devel/.github/ISSUE_TEMPLATE.md anyway. Otherwise it may end up being automatically closed by bot.

-label needs_triage
+label needs_contributor

@trickeydan

This comment has been minimized.

Copy link

commented Aug 19, 2018

This would be very useful for myself and others that I work with. It is somewhat frustrating having to use the command module to install applications

@angristan

This comment has been minimized.

Copy link
Contributor

commented Aug 20, 2018

@smoyer64 can you update your issue? Thanks!

@mohag

This comment has been minimized.

Copy link

commented Aug 29, 2018

The main use case I see is Ubuntu Core, which only has snap as package manager. (The base install does at least include Python (3))

@mildlyincompetent

This comment has been minimized.

Copy link

commented Aug 29, 2018

Snap works well as a package manager for desktop applications, so the use case for this would extend to workstation builds for a variety of distros (since the snap package manager is available for various distros).

@webknjaz

This comment has been minimized.

Copy link
Member

commented Aug 29, 2018

Feel free to compose a PR :)

@angristan

This comment has been minimized.

Copy link
Contributor

commented Aug 29, 2018

There is #40852

@webknjaz

This comment has been minimized.

Copy link
Member

commented Aug 30, 2018

Oh, then someone needs to pick up that PR and fix linter errors in order for us to proceed :)

@angristan

This comment has been minimized.

Copy link
Contributor

commented Aug 30, 2018

Working on it :)

@webknjaz

This comment has been minimized.

Copy link
Member

commented Oct 17, 2018

Implemented by @angristan via #44939

@webknjaz webknjaz closed this Oct 17, 2018

pull bot pushed a commit to yaplej/ansible that referenced this issue Oct 17, 2018

Implement snap packaging module
PR ansible#44939

Fixes ansible#39155
Closes ansible#40852

Co-authored-by: Victor Carceler <vcarceler@iespuigcastellar.xeill.net>
Co-authored-by: Stanislas Lange <angristan@pm.me>
Co-authored-by: Sviatoslav Sydorenko <wk@sydorenko.org.ua>

Tomorrow9 added a commit to Tomorrow9/ansible that referenced this issue Dec 4, 2018

Implement snap packaging module
PR ansible#44939

Fixes ansible#39155
Closes ansible#40852

Co-authored-by: Victor Carceler <vcarceler@iespuigcastellar.xeill.net>
Co-authored-by: Stanislas Lange <angristan@pm.me>
Co-authored-by: Sviatoslav Sydorenko <wk@sydorenko.org.ua>

@ansible ansible locked and limited conversation to collaborators Jul 22, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
7 participants
You can’t perform that action at this time.