Install Zoom flatpak in Debian-like systems — Ansible module flatpak

How to automate the installation of Zoom flatpak system-wide in Debian-like systems using Ansible module flatpak.

Ansible Pilot
5 min readMar 2, 2022

--

How to install Zoom flatpack in Debian-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 install Spotify flatpack in Debian-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`.

demo

--

--

Ansible Pilot

I help creative Automation DevOps, Cloud Engineer, System Administrator, and IT Professional to succeed with Ansible Technology to automate more things everyday