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 Microsoft Edge on Debian with Ansible — Video Tutorial

Learn how to install Microsoft Edge on Debian using Ansible. Follow our guide for a smooth setup process, including repository and key additions.

Watch Video

Watch "Install Microsoft Edge on Debian with Ansible" on YouTube

What You'll Learn

Full Tutorial Content

How to Install Microsoft Edge 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. Microsoft Edge on Linux Microsoft Edge is available in the following channels: - Stable Channel - Beta Channel - Major update every 4 weeks - Dev Channel - Updated weekly - Canary Channel - Updated daily More information https://www.microsoftedgeinsider.com/en-us/download/ Ansible install Microsoft Edge in Debian-like systems - Add Microsoft Edge key => ansible.builtin.apt_key - Add Microsoft Edge repository => ansible.builtin.apt_repository - Update apt cache and install Microsoft Edge => ansible.builtin.apt In order to install Microsoft Edge on a Debian-like system, we need to perform three different steps. The first step is to download the GPG signature key for the repository. You are going to use the `ansible.builtin.apt_key` Ansible module. This encrypted key verifies the genuinity of the packages and the repository and guarantees that the software is the same as Microsoft releases. The second step is to add the add Microsoft Edge repository to the distribution. It's an extra website were `apt`, your distribution package manager looks like for software. You are going to use the `ansible.builtin.apt_repository` Ansible module. The third step is to update the apt cache for the available packages and install Microsoft Edge using the `ansible.builtin.apt` Ansible module. Parameters - `apt-key` `url` string - URL - `apt-key` `state` string - present/absent - `apt_repository` `repo` string - repository - `apt_repository` `state` string - present/absent - `apt` `name` string - name or package-specific - `apt` `state` string - latest/present/absent - `apt` `update_cache` boolean - no/yes For the `ansible.builtin.apt_key` Ansible module I'm going to use two parameters: "url" and "state". The "url" parameter specifies the URL of the repository GPG signature key and the "state" verify that is present in our system after the execution. For the `ansible.builtin.apt_repository` Ansible module I'm going to use two parameters: "repo" and "state". The "repo" parameter specifies the repository parameters and the "state" verify that is present in our system after the execution. For the `ansible.builtin.apt` Ansible module I'm going to use three parameters: "name", "state", and "update_cache". The "name" parameter specifies the package name (Microsoft Edge in our use-case) and the "state" verify that is present in our system after the execution. Before installing the package the "update_cache" performs an update of the apt cache to ensure that the latest version of the package is going to be downloaded. ## Playbook Let's jump in a real-life Ansible Playbook to install Microsoft Edge in Debian-like systems. code - install_microsoft_edge_debian.yml ```yaml --- - name: install Microsoft Edge hosts: all become: true tasks: - name: Install a

About This Tutorial

Read the full written article: Install Microsoft Edge on Debian with Ansible

Topics Covered

Related Video Tutorials