flatpak_remote – Manage flatpak repository remotes¶
New in version 2.6.
Synopsis¶
Allows users to add or remove flatpak remotes.
The flatpak remotes concept is comparable to what is called repositories in other packaging formats.
Currently, remote addition is only supported via flatpakrepo file URLs.
Existing remotes will not be updated.
See the flatpak module for managing flatpaks.
Requirements¶
The below requirements are needed on the host that executes this module.
flatpak
Parameters¶
Examples¶
- name: Add the Gnome flatpak remote to the system installation
flatpak_remote:
name: gnome
state: present
flatpakrepo_url: https://sdk.gnome.org/gnome-apps.flatpakrepo
- name: Add the flathub flatpak repository remote to the user installation
flatpak_remote:
name: flathub
state: present
flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo
method: user
- name: Remove the Gnome flatpak remote from the user installation
flatpak_remote:
name: gnome
state: absent
method: user
- name: Remove the flathub remote from the system installation
flatpak_remote:
name: flathub
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]