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

PHP: Notes

" PHP was originally an abbreviation of Personal Home Page, but it now stands for the recursive initialism PHP: Hypertext Preprocessor. " — Wikipedia

Check and install php7.0-mbstring extention on Ubuntu 16.04 and Microsoft Windows

While learning Facebook SDK for PHP I overlooked one of system requirements preventing my code from running on my host. That is The mbstring extension. Facebook SDK for PHP's system requirements Check if mbstring is enabled root@ubuntu001:~# php -a Interactive mode enabled php > echo extension_loaded('mbstring'); php >exit root@ubuntu001:~# apt-cache search php7 | grep mbstring php7.0-mbstring - MBSTRING module for PHP root@ubuntu001:~# Install php7.0-mbstring root@ubuntu001:~# apt-get install php7.0-mbstring Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required:   fontconfig-config fonts-dejavu-core libfontconfig1 libgd3 libjbig0   libjpeg-turbo8 libjpeg8 libmcrypt4 libtiff5 libvpx3 libxpm4 Use 'apt autoremove' to remove them. The following additional packages will be installed:   libapache2-mod-php7.0 php7.0-cli ph...

Windows: Cleanup Installer folder

Let's cleanup orphaned files in %windir%\Installer folder to reclaim space from our expensive SSD.