Install Microsoft Edge in RedHat-like systems — Ansible module rpm_key, yum_repository and yum

How to install the latest Microsoft Edge Stable on a RedHat-like workstation verify software using the public GPG key and set up the Microsoft repository. Included demo in Fedora 34.

Luca Berton


How to Install Microsoft Edge in RedHat-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.

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

Ansible install Microsoft Edge in RedHat-like systems

  • Add Microsoft Edge key => ansible.builtin.rpm_key
  • Add Microsoft Edge repository => ansible.builtin.yum_repository
  • Update yum cache and install Microsoft Edge => ansible.builtin.yum

In order to install Microsoft Edge on a RedHat-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.rpm_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 where `yum/dnf`, your distribution package manager looks like for software.

You are going to use the `ansible.builtin.yum_repository` Ansible module.



Luca Berton

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