Antergos, Debian, Fedora, Manjaro, Tutorials/Tips, Ubuntu

How to install Ansible on your favorite Linux distribution

Ansible is an open source, SSH-based configuration management, automation and deployment tool from Red Hat (via acquisition). It’s in the same market as Chef and Salt, but because it relies on SSH, something that’s already installed on your servers, it’s the easiest tool to use for managing and working on remote servers.

This post shows how to install it on your favorite Linux distribution.

Install Ansible on Debian/Ubuntu-based distributions

To install Ansible on any Linux distribution that uses Debian’s Advanced Packaging Tool (APT) for package management, use the following command:

Related Post:  Editing php.ini file in VestaCP for upload_max_filesize exceeded error

Install Ansible on Fedora/CentOS-based distributions

To install Ansible on any Linux distribution that’s based on Fedora or CentOS, use one of the following commands:

Install Ansible on Arch Linux-based distributions

To install Ansible on any Linux distribution that uses pacman for package management, use the following command:

Related Post:  Linux and the beauty of browser-based games

This article will not even attempt to go into all the cool and productivity-enhancing things you can do with Ansible, but you can start by learning how to retrieve you Internet router’s external, or public address using

Ansible

Subscribe to LinuxBSDos.com

Subscribe to receive the latest articles in your Inbox

I agree to have my personal information transfered to MailChimp ( more information )

Trust me, you'll not be spammed...

Please share:

We Recommend These Blockchain Conferences and Servicess

Register now for Blockchain & Decentralized Tech SuperSummit, international conference on blockchain technnology in Dallas, TX (USA), October 30 - November 2, 2018

Learn how to trade cryptocurrencies profitably using technical and fundamental analysis at BDT SuperSummit

Best binary auto trading software reviews by 7binaryoptions.com

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).


One Comment

  1. How configure :
    1) /etc/ansible/hosts

    2) inventories/example et inventories/example.yml
    ( Les noms de fichiers doivent être les mêmes que votre environnement :
    inventories/staging and inventories/staging.yml )

    3) playbook.yml

Leave a Comment

Your email address will not be published. Required fields are marked *

*