Install Zoom flatpak in RedHat-like systems — Ansible module flatpak
How to automate the installation of Zoom flatpak system-wide in RedHat-like systems using Ansible module flatpak.
--
How to install Zoom flatpack in RedHat-like systems with Ansible?
I’m going to show you a live demo with some simple Ansible code.
I’m Luca Berton and welcome to today’s episode of Ansible Pilot.
Ansible installs Zoom flatpack in RedHat-like systems
- `
community.general.flatpak
` - Manage flatpaks
Today we are going to talk about the Ansible module `flatpak
`.
The full name is `community.general.flatpak
`, it’s part of `community.general
` modules maintained by the Ansible Community.
The purpose of the `flatpak
` module is to Manage flatpaks in the target system.
Parameters
- name string — flatpak name
- state string — present/absent
- method string — system/user
- remote string — flathub
- no_dependencies string — no/yes
- executable string — flatpak
Let me summarize the parameters of `flatpack
` module.
The only required is “name”, where you specify the flatpack name to install or remove.
The parameter “state” specifies if you would like to perform the install action (“present” option) or the remove action (“absent” option).
The parameter “method” specifies if you would like to install the flatpack system-wide (default) or only for the current user.
The following parameters are more for advanced users.
For example, specify a different source with `remote
` parameter other than the default “flathub
”; not install the dependency “no_dependencies” parameter or if the `executable` is different than the usual `flatpack`.