Snap
Role to uninstall/install Snap
Requirements
- snap.py in library directory inside of role
Role Variables
Name | Type | Default Value | Purpose | Comment | Role |
---|---|---|---|---|---|
snap_remove | boolean | "true" | indicates if snapd is to be removed or installed | jammy_snap | |
snap_conf | boolean | "false" | indicates if the role should be applied | jammy_snap | |
snap_force_install_preventing | boolean | "true" | indicates if snapd install over apt pinning is blocked | can be set to false, without setting snap_remove to true or false, so user can chose | jammy_snap |
Dependencies
- none
Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: username.rolename, x: 42 }
License
BSD
Author Information
An optional section for the role authors to include contact information, or a website (HTML is not allowed).