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

Python: Free Online Courses

Ever thinking about which programming language to learn first? You can learn Python for free with these online courses.

How to charge your device from USB Port

First of all, check BIOS Settings of your laptop or desktop Dell Look for USB PowerShare BIOS Settings: USB PowerShare Lenovo Look for Always On USB Charge in Off Mode BIOS Settings: Enable Always On USB Charge in Off Mode

Qubes OS: Fedora 30

Create a new Standalone VM based on fedora-29 VM template Extend root partition: run command on dom0 tuyen@dom0:~ $ qvm-volume extend fedora-30:root 12288MB Set qrexec_timeout to 600 seconds tuyen@dom0:~ $ qvm-pref --set fedora-30 qrexec_timeout 600 $ sudo dnf upgrade --refresh $ sudo dnf install dnf-plugin-sytem-upgrade $ sudo dnf system-upgrade download --release=30 Install fedora-30 template Run the following command on dom0 terminal $ sudo qubes-dom0-update qubes-template-fedora-30 Install Adobe Flash Player Adobe Flash Player will not go away soon. So, let's grab the latest version of Adobe Flash Player , then install using yum or dnf command. Verify if Adobe Flash Player is installed and works by visiting https://helpx.adobe.com/flash-player.html [user@fedora-30 ~]$ sudo dnf install Downloads/flash-player-npapi-32.0.0.238-release.x86_64.rpm Last metadata expiration check: 0:37:03 ago on Fri Aug 30 09:18:10 2019. Dependencies resolved. =========...