snap
Collection: community.general
Full Name: parallax.community.general.snap
Aliases: community.general.snap, snap
Synopsis
Manage snap
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| name | string | yes | Name of the snap to install or remove | |
| state | string | present | The desired state of the snap (present, absent, enabled, disabled) | |
| channel | string | stable | The channel to install the snap from | |
| classic | bool | false | Install the snap in classic confinement mode | |
| dangerous | bool | false | Install the snap even if it is dangerous | |
| options | string | Additional options to pass to the snap command |
Example
- name: Example snap task
snap:
name: <your_name>