Loading...

Watch: 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.

How to install Zoom flatpak in Debian-like systems with Ansible?

I'm going to show you a live Playbook with some simple Ansible code.

I'm Luca Berton and welcome to today's episode of Ansible Pilot.

Ansible install Zoom flatpak 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 flatpak module.

The only required is "name", where you specify the flatpak 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 flatpak 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 flatpak.

Links

  • [Flatpak technology](https://flatpak.org/)
  • [Zoom flatpak](https://flathub.org/apps/details/us.zoom.Zoom)

## Playbook

How to install Zoom flatpak in Debian-like systems with Ansible Playbook.

code

``yaml

---

  • name: flatpak module Playbook

hosts: all

become: true

gather_facts: false

tasks:

- name: flatpak present

ansible.builtin.apt:

name: flatpak

state: present

- name: flathub flatpak repo

community.general.flatpak_remote:

name: flathub

state: present

flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo

method: system

- name: install Zoom via flatpak

community.general.flatpak:

name: us.zoom.Zoom

state: present

method: system

`

execution

``bash

ansible-pilot $ ansible-playbook -i virtualmachines/ubuntu2110desktop/inventory container/flatpak_debian.yml

PLAY [flatpak module Playbook] **

TASK [flatpak presen

Read the full tutorial: Install Zoom flatpak in Debian-like systems - Ansible module flatpak