Loading...

Watch: How to install Ansible in Arch Linux 2021.12.01 - Ansible install

The easier way to install the latest version of Ansible and maintain up-to-date in Arch Linux 2021.12.01 using Pacman and the Community repository.

How to install Ansible in Arch Linux?

Today we're going to talk about the easier way to install and maintain up-to-date Ansible in Arch Linux using the Community repository.

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

How to install Ansible in Arch Linux

  • ansible package included in Community default repositories

Today we're talking about How to install Ansible in Arch Linux.

The good news is that Ansible is included in the default repository so you could install it simply with your usual package manager "pacman".

You could expect the latest version of Ansible in the "Community" repository.

At the moment is available the latest 5.0.

Links

  • [https://archlinux.org/packages/community/any/ansible/](https://archlinux.org/packages/?q=ansible)

## Playbook

Install Ansible in Arch Linux using "pacman" Package Manager using the Community repository.

code

  • Install-Ansible-Arch Linux.sh

``bash

#!/bin/bash

sudo pacman -Syu

sudo pacman -Si ansible

sudo pacman -S ansible

sudo pacman -Q | grep ansible

`

execution

``bash

pacman -Syu

:: Synchronizing package databases...

core 137.4 KiB 1174 KiB/s 00:00 [#######################################################################] 100%

extra 1585.5 KiB 4.11 MiB/s 00:00 [#######################################################################] 100%

community 5.8 MiB 5.06 MiB/s 00:01 [#######################################################################] 100%

:: Starting full system upgrade...

there is nothing to do

[root@Arch Linux vagrant]# pacman -Syu

:: Synchronizing package databases...

core is up to date

extra is up to date

community is up to date

:: Starting full system upgrade...

there is nothing to do

[root@Arch Linux vagrant]# pacman -Ss ansible

community/ansible 5.0.0-1

Official assortment of Ansible collections

community/ansible-bender 0.9.0-1

Build container images using Ansible playbooks

community/ansible-core 2.12.0-1

Radically simple IT automation platform

community/ansible-lint 5.2.1-1

Checks playbooks for practices and behaviour that could potentially be improved.

community/awxkit 19.5.0-1

cli client and python library for ansible awx (tower)

community/molecule 3.5.2-1

Aids in the

Read the full tutorial: How to install Ansible in Arch Linux 2021.12.01 - Ansible install