snap

Collection: community.general

Full Name: parallax.community.general.snap

Aliases: community.general.snap, snap

Synopsis

Manage snap

Parameters

NameTypeRequiredDefaultDescription
namestringyesName of the snap to install or remove
statestringpresentThe desired state of the snap (present, absent, enabled, disabled)
channelstringstableThe channel to install the snap from
classicboolfalseInstall the snap in classic confinement mode
dangerousboolfalseInstall the snap even if it is dangerous
optionsstringAdditional options to pass to the snap command

Example

- name: Example snap task
  snap:
    name: <your_name>