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

Powershell: Enable Firewall Log

We sometimes need to enable Windows firewall's log to troubleshoot. Here is how.

Powershell: head and tail command

Use head or tail to skim the first or last 5 lines.

[Microsoft Outlook]: Set .pst and .ost files location with ForcePSTPath Registry Key

Set .pst and .ost files location with ForcePSTPath Registry Key The ForcePSTPath registry key is supported by Microsoft Outlook 2003 and later. In Microsoft Outlook 2003 and 2007, it applies to new profiles only. Microsoft Outlook 2013 and Outlook 2016 it applies to new accounts created in a profile. Microsoft Outlook 2013 saves .pst in   %userprofile%\Documents\Outlook Files folder by default. We can change that default setting by adding a new string registry key called ForcePSTPath and set the value to the folder that we want to save those files. Set Microsoft Outlook 2013 always save new .pst and .ost files to D:\Data\Mail folder OST file reached the maximum size The OST File Has Reached The Maximum Size