Skip to main content

Ansible on Fedora Workstation 30

Ansible logo

RedHat acquired Ansible in 2015.

Ansible is a clear leader in IT automation and DevOps, and helps Red Hat take a significant step forward in our goal of creating frictionless IT.
— JOE FITZGERALDVICE PRESIDENT, MANAGEMENT, RED HAT
[tuyen@g73jh ~]$ sudo dnf -y install ansible
[sudo] password for tuyen:
Last metadata expiration check: 0:00:25 ago on Wed 02 Oct 2019 07:18:56 PM +07.
Dependencies resolved.
==========================================================================
 Package               Arch        Version             Repository    Size
==========================================================================
Installing:
 ansible               noarch      2.8.5-1.fc30        updates       15 M
Installing dependencies:
 python3-paramiko      noarch      2.5.0-1.fc30        updates      288 k
 python3-bcrypt        x86_64      3.1.4-7.fc30        fedora        41 k
 python3-jmespath      noarch      0.9.3-2.fc30        fedora        45 k
 python3-pynacl        x86_64      1.3.0-1.fc30        fedora        96 k

Transaction Summary
==========================================================================
Install  5 Packages

Total download size: 15 M
Installed size: 81 M
Downloading Packages:
(1/5): python3-bcrypt-3.1.4-7.fc30.x86_64 135 kB/s |  41 kB     00:00
(2/5): python3-jmespath-0.9.3-2.fc30.noar 124 kB/s |  45 kB     00:00
(3/5): python3-pynacl-1.3.0-1.fc30.x86_64 456 kB/s |  96 kB     00:00
(4/5): python3-paramiko-2.5.0-1.fc30.noar  99 kB/s | 288 kB     00:02
(5/5): ansible-2.8.5-1.fc30.noarch.rpm    2.3 MB/s |  15 MB     00:06
--------------------------------------------------------------------------
Total                                     1.9 MB/s |  15 MB     00:08
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                  1/1
  Installing       : python3-pynacl-1.3.0-1.fc30.x86_64               1/5
  Installing       : python3-jmespath-0.9.3-2.fc30.noarch             2/5
  Installing       : python3-bcrypt-3.1.4-7.fc30.x86_64               3/5
  Installing       : python3-paramiko-2.5.0-1.fc30.noarch             4/5
  Installing       : ansible-2.8.5-1.fc30.noarch                      5/5
  Running scriptlet: ansible-2.8.5-1.fc30.noarch                      5/5
  Verifying        : ansible-2.8.5-1.fc30.noarch                      1/5
  Verifying        : python3-paramiko-2.5.0-1.fc30.noarch             2/5
  Verifying        : python3-bcrypt-3.1.4-7.fc30.x86_64               3/5
  Verifying        : python3-jmespath-0.9.3-2.fc30.noarch             4/5
  Verifying        : python3-pynacl-1.3.0-1.fc30.x86_64               5/5

Installed:
  ansible-2.8.5-1.fc30.noarch        python3-paramiko-2.5.0-1.fc30.noarch
  python3-bcrypt-3.1.4-7.fc30.x86_64 python3-jmespath-0.9.3-2.fc30.noarch
  python3-pynacl-1.3.0-1.fc30.x86_64

Complete!
[tuyen@g73jh ~]$ which ansible
/usr/bin/ansible
[tuyen@g73jh ~]$ ansible --version
ansible 2.8.5
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/tuyen/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 3.7.4 (default, Jul  9 2019, 16:32:37) [GCC 9.1.1 20190503 (Red Hat 9.1.1-1)]
[tuyen@g73jh ~]$

Popular posts from this blog

Windows command: icacls

Icacls is a command-line utility that can be used to display or modify discretionary access control lists (DACLs) on specified files, and apply stored DACLs to files in specified directories.

Install the .NET Core Windows Server Hosting bundle

Remember to schedule in advance, since IIS must be reset after installing .NET Core Windows Server Hosting bundle.

Synology: Commonly Used Commands

Commonly used commands via ssh with Synology NAS.