community.general.flatpak – Manage flatpaks¶
Note
This plugin is part of the community.general collection (version 2.5.1).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.flatpak
.
Synopsis¶
Allows users to add or remove flatpaks.
See the community.general.flatpak_remote module for managing flatpak remotes.
Parameters¶
Examples¶
- name: Install the spotify flatpak
community.general.flatpak:
name: https://s3.amazonaws.com/alexlarsson/spotify-repo/spotify.flatpakref
state: present
- name: Install the gedit flatpak package
community.general.flatpak:
name: https://git.gnome.org/browse/gnome-apps-nightly/plain/gedit.flatpakref
state: present
- name: Install the gedit package from flathub for current user
community.general.flatpak:
name: org.gnome.gedit
state: present
method: user
- name: Install the Gnome Calendar flatpak from the gnome remote system-wide
community.general.flatpak:
name: org.gnome.Calendar
state: present
remote: gnome
- name: Remove the gedit flatpak
community.general.flatpak:
name: org.gnome.gedit
state: absent
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
John Kwiatkoski (@JayKayy)
Alexander Bethke (@oolongbrothers)