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.


How to update Zoom flatpak in Linux 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 update Zoom flatpak in Linux systems
ansible.builtin.command
- Execute commands on targets
Today we are going to talk about the Ansible module command
.
The full name is ansible.builtin.command
, it’s part of ansible.builtin
modules maintained by the Ansible Core.
The purpose of the command
module is to Execute commands on a target system.
The Best Resources For Ansible
Video Course
Printed Book
eBooks
- Ansible by Examples: 200+ Automation Examples For Linux and Windows System Administrator and DevOps
- Ansible For Windows By Examples: 50+ Automation Examples For Windows System Administrator And DevOps
- Ansible For Linux by Examples: 100+ Automation Examples For Linux System Administrator and DevOps
- Ansible Linux Filesystem By Examples: 40+ Automation Examples on Linux File and Directory Operation for Modern IT Infrastructure
- Ansible For Containers and Kubernetes By Examples: 20+ Automation Examples To Automate Containers, Kubernetes and OpenShift
- Ansible For Security by Examples: 100+ Automation Examples to Automate Security and Verify Compliance for IT Modern Infrastructure
- Ansible Tips and Tricks: 10+ Ansible Examples to Save Time and Automate More Tasks
- Ansible Linux Users & Groups By Examples: 20+ Automation Examples on Linux Users and Groups Operation for Modern IT Infrastructure
- Ansible For PostgreSQL by Examples: 10+ Examples To Automate Your PostgreSQL database
- Ansible For Amazon Web Services AWS By Examples: 10+ Examples To Automate Your AWS Modern Infrastructure
- Ansible Automation Platform By Example: A step-by-step guide for the most common user scenarios
demo
How to Update Zoom flatpak in Linux systems with Ansible Playbook.
code
---
- name: flatpak update demo
hosts: all
become: true
gather_facts: false
tasks:
- name: update flatpak(s)
ansible.builtin.command: "flatpak update --noninteractive"
execution
ansible-pilot $ ansible-playbook -i virtualmachines/ubuntu2110desktop/inventory container/flatpak_update.yml
PLAY [flatpak update demo] ************************************************************************
TASK [update flatpak(s)] **************************************************************************
changed: [ubuntu2110.example.com]
PLAY RECAP ****************************************************************************************
ubuntu2110.example.com : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
ansible-pilot $
before execution
ansible-pilot $ ssh [email protected]
Welcome to Ubuntu 21.10 (GNU/Linux 5.13.0-30-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
0 updates can be applied immediately.
Last login: Thu Mar 3 06:39:45 2022 from 192.168.0.59
$ flapak list
-sh: 1: flapak: not found
$ flatpak list
Name Application ID Version Branch Installation
Freedesktop Platform org.freedesktop.Platform 21.08.11 21.08 system
Mesa org.freedesktop.Platform.GL.default 21.3.6 21.08 system
openh264 org.freedesktop.Platform.openh264 2.1.0 2.0 system
Zoom us.zoom.Zoom 5.9.1.1380 stable system
$
after execution
ansible-pilot $ ssh [email protected]
Welcome to Ubuntu 21.10 (GNU/Linux 5.13.0-30-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
0 updates can be applied immediately.
Last login: Thu Mar 3 07:05:53 2022 from 192.168.0.59
$ flatpak list
Name Application ID Version Branch Installation
Freedesktop Platform org.freedesktop.Platform 21.08.11 21.08 system
Mesa org.freedesktop.Platform.GL.default 21.3.6 21.08 system
openh264 org.freedesktop.Platform.openh264 2.1.0 2.0 system
Zoom us.zoom.Zoom 5.9.6.2225 stable system
$
Recap
Now you know how to update Zoom flatpak in Linux systems with Ansible. Subscribe to the YouTube channel, Medium, Website, Twitter, and Substack to not miss the next episode of the Ansible Pilot.
Academy
Learn the Ansible automation technology with some real-life examples in my
My book Ansible By Examples: 200+ Automation Examples For Linux and Windows System Administrator and DevOps
Donate
Want to keep this project going? Please donate