flatpak – Manage flatpaks¶
New in version 2.6.
Synopsis¶
- Allows users to add or remove flatpaks.
- See the flatpak_remote module for managing flatpak remotes.
Parameters¶
Examples¶
- name: Install the spotify flatpak
  flatpak:
    name:  https://s3.amazonaws.com/alexlarsson/spotify-repo/spotify.flatpakref
    state: present
- name: Install the gedit flatpak package
  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
  flatpak:
    name: org.gnome.gedit
    state: present
    method: user
- name: Install the Gnome Calendar flatpak from the gnome remote system-wide
  flatpak:
    name: org.gnome.Calendar
    state: present
    remote: gnome
- name: Remove the gedit flatpak
  flatpak:
    name: org.gnome.gedit
    state: absent
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Status¶
- This module is not guaranteed to have a backwards compatible interface. [preview]
- This module is maintained by the Ansible Community. [community]
Authors¶
- John Kwiatkoski (@JayKayy)
- Alexander Bethke (@oolongbrothers)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.
