Sat, March 31, 2018 ยท 1 min read

Ansible installation on fedora 26

Ansible installation on fedora 26

Ansible is an infrastructure configuration management tool like Chef, Puppet, Salt but what sets Ansible apart from the others is its simple to use architecture which relies on SSH, which is default on many Linux servers.

Install Ansible

$ sudo dnf install ansible -y
Last metadata expiration check: 1:04:30 ago on Sunday 01 April 2018 09:03:30 PM IST.
Dependencies resolved.
================================================================================
Package        Arch      Version              Repository       Size
================================================================================
Installing:
ansible        noarch    2.4.3.0-1.fc26       updates          7.6 M
Installing dependencies:
libtomcrypt    x86_64    1.17-31...           updates         351 k
libtommath     x86_64    1.0-8.fc26           updates          55 k
...

Transaction Summary
================================================================================
Install  10 Packages

Total download size: 14 M
Installed size: 66 M

Installed:
  ansible.noarch 2.4.3.0-1.fc26

Check ansible version

$ ansible --version
ansible 2.4.3.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/home/cipher/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.14 (default, Mar 14 2018, 13:29:26) [GCC 7.3.1 20180130 (Red Hat 7.3.1-2)]