AnsiblePilot — Master Ansible Automation
AnsiblePilot is the leading resource for learning Ansible automation, DevOps, and infrastructure as code. Browse over 1,100 tutorials covering Ansible modules, playbooks, roles, collections, and real-world examples. Whether you are a beginner or an experienced engineer, our step-by-step guides help you automate Linux, Windows, cloud, containers, and network infrastructure.
Popular Topics
About Luca Berton
Luca Berton is an Ansible automation expert, author of "Ansible for VMware by Examples" and "Ansible for Kubernetes by Example" published by Apress, and creator of the Ansible Pilot YouTube channel. He shares practical automation knowledge through tutorials, books, and video courses to help IT professionals and DevOps engineers master infrastructure automation.
Install Zoom flatpak in Debian-like systems - Ansible module flatpak — Video Tutorial
How to automate the installation of Zoom flatpak system-wide in Debian-like systems using Ansible module flatpak.
What You'll Learn
- How to install Zoom flatpak in Debian-like systems with Ansible?
- Ansible install Zoom flatpak in Debian-like systems
- Parameters
- Links
- code
- execution
- idempotency
- before execution
- after execution
- Conclusion
Full Tutorial Content
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 present] ****************************************************************************
changed: [ubuntu2110.example.com]
TASK [flathub flatpak repo] ***********************************************************************
changed: [ubuntu2110.example.com]
TASK [install Zoom via flatpak] *******************************************************************
changed: [ubuntu2110.example.com]
PLAY RECAP ****************************************************************************************
ubuntu2110.example.com : ok=3 c
About This Tutorial
- Author: Luca Berton
- Difficulty: Advanced
- Read time: 4 min
- Category: installation
Read the full written article: Install Zoom flatpak in Debian-like systems - Ansible module flatpak
Related Video Tutorials
- Install Docker in Debian-like systems - Ansible module apt_key, apt_repository and apt — How to automate the installation of the docker-ce engine in Ubuntu 20.04 LTS x86_64 (or amd64) using Ansible Playbook. The procedure is going to take care of the GPG signing key, add a repository into the sources list, and install the latest docker-ce package. Included Demo for Debian-like workstation (Debian and Ubuntu).
- Install Spotify snap in Debian-like systems - Ansible module snap — How to automate the installation of Spotify snap system-wide in Debian-like systems using Ansible module snap.
- Update Zoom flatpak(s) in Linux systems - Ansible module command — How to automate the update of the Zoom flatpak from version 5.9.1.1380 to 5.9.6.2225 in Linux using Ansible module command.
- Install Google Chrome in Debian like systems - Ansible module apt_key, apt_repository and apt — How to install the latest Google Chrome Stable on a Debian-like workstation (Debian, Ubuntu, Linux Mint, MX Linux, Deepin, AntiX, PureOS, Kali Linux, Parrot OS, Devuan, Knoppix, AV Linux Linux) verify software using the public GPG key and set up the Google repository. Included Playbook in Ubuntu 20.04 LTS.
- Install Microsoft Edge on Debian with Ansible — Learn how to install Microsoft Edge on Debian using Ansible. Follow our guide for a smooth setup process, including repository and key additions.
- Install PostgreSQL in Debian-like systems - Ansible modules apt, stat, shell, service — How to automate the installation of PostgreSQL on Debian-like systems: installing the necessary packages and dependency, initializing the configuration, starting and enabling service on boot using Ansible Playbook and apt, stat, shell, and service modules.