Member-only story
Install Spotify snap in RedHat-like systems — Ansible module snap
How to automate the installation of Spotify snap system-wide in RedHat-like systems using Ansible module snap.
5 min readMar 4, 2022
How to Install Spotify snap on RedHat-like systems with Ansible?
I’m going to show you a live demo with some simple Ansible code. I’m Luca Berton and welcome to today’s episode of Ansible Pilot.
Ansible installs Spotify snap on RedHat-like systems
community.general.snap
- Manages snaps
Today we are going to talk about the Ansible module snap
. The full name is community.general.snap
, it’s part of community.general
modules maintained by the Ansible Community. The purpose of the snap
module is to Manage snaps in the target system.
Parameters
- name string — snap name
- state string — present/absent
- channel string — “stable”
- classic boolean — no/yes