Below command can be executed to install Python on Linux machines.
yum install ansible
Below is example snippet you would be seeing when installing ansible on Oracle Linux 7 Host.
--> Running transaction check
---> Package ansible.noarch 0:2.7.9-1.el7 will be installed
--> Processing Dependency: sshpass for package: ansible-2.7.9-1.el7.noarch
--> Processing Dependency: python-setuptools for package: ansible-2.7.9-1.el7.noarch
--> Processing Dependency: python-paramiko for package: ansible-2.7.9-1.el7.noarch
--> Processing Dependency: python-jinja2 for package: ansible-2.7.9-1.el7.noarch
--> Processing Dependency: python-httplib2 for package: ansible-2.7.9-1.el7.noarch
--> Processing Dependency: python-six for package: ansible-2.7.9-1.el7.noarch
--> Processing Dependency: python-crypto for package: ansible-2.7.9-1.el7.noarch
--> Processing Dependency: python2-jmespath for package: ansible-2.7.9-1.el7.noarch
--> Processing Dependency: python-keyczar for package: ansible-2.7.9-1.el7.noarch
--> Running transaction check
---> Package python-httplib2.noarch 0:0.9.2-0.1.el7 will be installed
---> Package python-jinja2.noarch 0:2.8-5.el7 will be installed
--> Processing Dependency: python-babel >= 0.8 for package: python-jinja2-2.8-5.el7.noarch
--> Processing Dependency: python-markupsafe for package: python-jinja2-2.8-5.el7.noarch
---> Package python-keyczar.noarch 0:0.71c-2.el7 will be installed
--> Processing Dependency: python-pyasn1 for package: python-keyczar-0.71c-2.el7.noarch
---> Package python-paramiko.noarch 0:2.1.1-9.el7 will be installed
--> Processing Dependency: python-cryptography for package: python-paramiko-2.1.1-9.el7.noarch
---> Package python-setuptools.noarch 0:18.0.1-2.el7 will be installed
---> Package python2-crypto.x86_64 0:2.6.1-13.el7 will be installed
--> Processing Dependency: libtomcrypt.so.0()(64bit) for package: python2-crypto-2.6.1-13.el7.x86_64
---> Package python2-jmespath.noarch 0:0.9.3-1.el7 will be installed
---> Package python2-six.noarch 0:1.10.0-9.el7 will be installed
---> Package sshpass.x86_64 0:1.06-1.el7 will be installed
--> Running transaction check
---> Package libtomcrypt.x86_64 0:1.17-25.el7 will be installed
--> Processing Dependency: libtommath >= 0.42.0 for package: libtomcrypt-1.17-25.el7.x86_64
--> Processing Dependency: libtommath.so.0()(64bit) for package: libtomcrypt-1.17-25.el7.x86_64
---> Package python-markupsafe.x86_64 0:0.11-10.el7 will be installed
---> Package python2-babel.noarch 0:2.3.4-1.el7 will be installed
--> Processing Dependency: pytz for package: python2-babel-2.3.4-1.el7.noarch
---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed
--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64
--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64
--> Processing Dependency: python-enum34 for package: python2-cryptography-1.7.2-2.el7.x86_64
--> Processing Dependency: python-ipaddress for package: python2-cryptography-1.7.2-2.el7.x86_64
---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed
--> Running transaction check
---> Package libtommath.x86_64 0:0.42.0-5.el7 will be installed
---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed
---> Package python-ipaddress.noarch 0:1.0.16-2.el7 will be installed
---> Package python2-cffi.x86_64 0:1.9.1-1.el7 will be installed
--> Processing Dependency: python-pycparser for package: python2-cffi-1.9.1-1.el7.x86_64
---> Package python2-idna.noarch 0:2.5-1.el7 will be installed
---> Package pytz.noarch 0:2016.10-2.el7 will be installed
--> Running transaction check
---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed
--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch
--> Running transaction check
---> Package python-ply.noarch 0:3.4-11.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================================================================================
Package Arch Version Repository Size
=======================================================================================================================================================
Installing:
ansible noarch 2.7.9-1.el7 ol7_developer 11 M
Installing for dependencies:
libtomcrypt x86_64 1.17-25.el7 ol7_developer_EPEL 224 k
libtommath x86_64 0.42.0-5.el7 ol7_developer_EPEL 35 k
python-enum34 noarch 1.0.4-1.el7 ol7_latest 52 k
python-httplib2 noarch 0.9.2-0.1.el7 ol7_developer_EPEL 115 k
python-ipaddress noarch 1.0.16-2.el7 ol7_latest 34 k
python-jinja2 noarch 2.8-5.el7 ol7_openstack30 450 k
python-keyczar noarch 0.71c-2.el7 ol7_developer_EPEL 217 k
python-markupsafe x86_64 0.11-10.el7 ol7_latest 25 k
python-paramiko noarch 2.1.1-9.el7 ol7_latest 268 k
python-ply noarch 3.4-11.el7 ol7_latest 122 k
python-pycparser noarch 2.14-1.el7 ol7_latest 104 k
python-setuptools noarch 18.0.1-2.el7 ol7_developer 417 k
python2-babel noarch 2.3.4-1.el7 ol7_openstack50 4.8 M
python2-cffi x86_64 1.9.1-1.el7 ol7_developer 220 k
python2-crypto x86_64 2.6.1-13.el7 ol7_developer_EPEL 476 k
python2-cryptography x86_64 1.7.2-2.el7 ol7_latest 498 k
python2-idna noarch 2.5-1.el7 ol7_developer 95 k
python2-jmespath noarch 0.9.3-1.el7 ol7_developer 40 k
python2-pyasn1 noarch 0.1.9-7.el7 ol7_latest 99 k
python2-six noarch 1.10.0-9.el7 ol7_openstack50 31 k
pytz noarch 2016.10-2.el7 ol7_latest 46 k
sshpass x86_64 1.06-1.el7 ol7_developer_EPEL 21 k
Transaction Summary
=======================================================================================================================================================
Install 1 Package (+22 Dependent packages)
Total download size: 20 M
Installed size: 96 M
Is this ok [y/d/N]: y
Downloading packages:
(1/23): python-enum34-1.0.4-1.el7.noarch.rpm | 52 kB 00:00:00
(2/23): libtommath-0.42.0-5.el7.x86_64.rpm | 35 kB 00:00:01
(3/23): python-ipaddress-1.0.16-2.el7.noarch.rpm | 34 kB 00:00:00
(4/23): libtomcrypt-1.17-25.el7.x86_64.rpm | 224 kB 00:00:02
(5/23): python-jinja2-2.8-5.el7.noarch.rpm | 450 kB 00:00:00
(6/23): python-markupsafe-0.11-10.el7.x86_64.rpm | 25 kB 00:00:00
(7/23): python-paramiko-2.1.1-9.el7.noarch.rpm | 268 kB 00:00:00
(8/23): python-ply-3.4-11.el7.noarch.rpm | 122 kB 00:00:00
(9/23): python-pycparser-2.14-1.el7.noarch.rpm | 104 kB 00:00:00
(10/23): python-httplib2-0.9.2-0.1.el7.noarch.rpm | 115 kB 00:00:01
(11/23): python-setuptools-18.0.1-2.el7.noarch.rpm | 417 kB 00:00:00
(12/23): python2-cffi-1.9.1-1.el7.x86_64.rpm | 220 kB 00:00:00
(13/23): python-keyczar-0.71c-2.el7.noarch.rpm | 217 kB 00:00:01
(14/23): python2-idna-2.5-1.el7.noarch.rpm | 95 kB 00:00:00
(15/23): python2-cryptography-1.7.2-2.el7.x86_64.rpm | 498 kB 00:00:00
(16/23): python2-pyasn1-0.1.9-7.el7.noarch.rpm | 99 kB 00:00:00
(17/23): python2-six-1.10.0-9.el7.noarch.rpm | 31 kB 00:00:00
(18/23): pytz-2016.10-2.el7.noarch.rpm | 46 kB 00:00:00
(19/23): python2-crypto-2.6.1-13.el7.x86_64.rpm | 476 kB 00:00:01
(20/23): python2-jmespath-0.9.3-1.el7.noarch.rpm | 40 kB 00:00:01
(21/23): sshpass-1.06-1.el7.x86_64.rpm | 21 kB 00:00:01
(22/23): python2-babel-2.3.4-1.el7.noarch.rpm | 4.8 MB 00:00:06
(23/23): ansible-2.7.9-1.el7.noarch.rpm | 11 MB 00:00:12
-------------------------------------------------------------------------------------------------------------------------------------------------------
Total 1.5 MB/s | 20 MB 00:00:12
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : python-setuptools-18.0.1-2.el7.noarch 1/23
Installing : python2-pyasn1-0.1.9-7.el7.noarch 2/23
Installing : python2-six-1.10.0-9.el7.noarch 3/23
Installing : python-ipaddress-1.0.16-2.el7.noarch 4/23
Installing : libtommath-0.42.0-5.el7.x86_64 5/23
Installing : libtomcrypt-1.17-25.el7.x86_64 6/23
Installing : python2-crypto-2.6.1-13.el7.x86_64 7/23
Installing : python-keyczar-0.71c-2.el7.noarch 8/23
Installing : python-ply-3.4-11.el7.noarch 9/23
Installing : python-pycparser-2.14-1.el7.noarch 10/23
Installing : python2-cffi-1.9.1-1.el7.x86_64 11/23
Installing : python-markupsafe-0.11-10.el7.x86_64 12/23
Installing : sshpass-1.06-1.el7.x86_64 13/23
Installing : pytz-2016.10-2.el7.noarch 14/23
Installing : python2-babel-2.3.4-1.el7.noarch 15/23
Installing : python-jinja2-2.8-5.el7.noarch 16/23
Installing : python-httplib2-0.9.2-0.1.el7.noarch 17/23
Installing : python2-jmespath-0.9.3-1.el7.noarch 18/23
Installing : python2-idna-2.5-1.el7.noarch 19/23
Installing : python-enum34-1.0.4-1.el7.noarch 20/23
Installing : python2-cryptography-1.7.2-2.el7.x86_64 21/23
Installing : python-paramiko-2.1.1-9.el7.noarch 22/23
Installing : ansible-2.7.9-1.el7.noarch 23/23
Verifying : python-jinja2-2.8-5.el7.noarch 1/23
Verifying : python-keyczar-0.71c-2.el7.noarch 2/23
Verifying : ansible-2.7.9-1.el7.noarch 3/23
Verifying : python-enum34-1.0.4-1.el7.noarch 4/23
Verifying : python2-crypto-2.6.1-13.el7.x86_64 5/23
Verifying : python2-idna-2.5-1.el7.noarch 6/23
Verifying : python2-jmespath-0.9.3-1.el7.noarch 7/23
Verifying : python-httplib2-0.9.2-0.1.el7.noarch 8/23
Verifying : pytz-2016.10-2.el7.noarch 9/23
Verifying : python2-six-1.10.0-9.el7.noarch 10/23
Verifying : sshpass-1.06-1.el7.x86_64 11/23
Verifying : python2-cffi-1.9.1-1.el7.x86_64 12/23
Verifying : python-markupsafe-0.11-10.el7.x86_64 13/23
Verifying : python-ply-3.4-11.el7.noarch 14/23
Verifying : python-paramiko-2.1.1-9.el7.noarch 15/23
Verifying : libtomcrypt-1.17-25.el7.x86_64 16/23
Verifying : python2-babel-2.3.4-1.el7.noarch 17/23
Verifying : libtommath-0.42.0-5.el7.x86_64 18/23
Verifying : python-pycparser-2.14-1.el7.noarch 19/23
Verifying : python-setuptools-18.0.1-2.el7.noarch 20/23
Verifying : python-ipaddress-1.0.16-2.el7.noarch 21/23
Verifying : python2-pyasn1-0.1.9-7.el7.noarch 22/23
Verifying : python2-cryptography-1.7.2-2.el7.x86_64 23/23
Installed:
ansible.noarch 0:2.7.9-1.el7
Dependency Installed:
libtomcrypt.x86_64 0:1.17-25.el7 libtommath.x86_64 0:0.42.0-5.el7 python-enum34.noarch 0:1.0.4-1.el7
python-httplib2.noarch 0:0.9.2-0.1.el7 python-ipaddress.noarch 0:1.0.16-2.el7 python-jinja2.noarch 0:2.8-5.el7
python-keyczar.noarch 0:0.71c-2.el7 python-markupsafe.x86_64 0:0.11-10.el7 python-paramiko.noarch 0:2.1.1-9.el7
python-ply.noarch 0:3.4-11.el7 python-pycparser.noarch 0:2.14-1.el7 python-setuptools.noarch 0:18.0.1-2.el7
python2-babel.noarch 0:2.3.4-1.el7 python2-cffi.x86_64 0:1.9.1-1.el7 python2-crypto.x86_64 0:2.6.1-13.el7
python2-cryptography.x86_64 0:1.7.2-2.el7 python2-idna.noarch 0:2.5-1.el7 python2-jmespath.noarch 0:0.9.3-1.el7
python2-pyasn1.noarch 0:0.1.9-7.el7 python2-six.noarch 0:1.10.0-9.el7 pytz.noarch 0:2016.10-2.el7
sshpass.x86_64 0:1.06-1.el7
Complete!
---> Package ansible.noarch 0:2.7.9-1.el7 will be installed
--> Processing Dependency: sshpass for package: ansible-2.7.9-1.el7.noarch
--> Processing Dependency: python-setuptools for package: ansible-2.7.9-1.el7.noarch
--> Processing Dependency: python-paramiko for package: ansible-2.7.9-1.el7.noarch
--> Processing Dependency: python-jinja2 for package: ansible-2.7.9-1.el7.noarch
--> Processing Dependency: python-httplib2 for package: ansible-2.7.9-1.el7.noarch
--> Processing Dependency: python-six for package: ansible-2.7.9-1.el7.noarch
--> Processing Dependency: python-crypto for package: ansible-2.7.9-1.el7.noarch
--> Processing Dependency: python2-jmespath for package: ansible-2.7.9-1.el7.noarch
--> Processing Dependency: python-keyczar for package: ansible-2.7.9-1.el7.noarch
--> Running transaction check
---> Package python-httplib2.noarch 0:0.9.2-0.1.el7 will be installed
---> Package python-jinja2.noarch 0:2.8-5.el7 will be installed
--> Processing Dependency: python-babel >= 0.8 for package: python-jinja2-2.8-5.el7.noarch
--> Processing Dependency: python-markupsafe for package: python-jinja2-2.8-5.el7.noarch
---> Package python-keyczar.noarch 0:0.71c-2.el7 will be installed
--> Processing Dependency: python-pyasn1 for package: python-keyczar-0.71c-2.el7.noarch
---> Package python-paramiko.noarch 0:2.1.1-9.el7 will be installed
--> Processing Dependency: python-cryptography for package: python-paramiko-2.1.1-9.el7.noarch
---> Package python-setuptools.noarch 0:18.0.1-2.el7 will be installed
---> Package python2-crypto.x86_64 0:2.6.1-13.el7 will be installed
--> Processing Dependency: libtomcrypt.so.0()(64bit) for package: python2-crypto-2.6.1-13.el7.x86_64
---> Package python2-jmespath.noarch 0:0.9.3-1.el7 will be installed
---> Package python2-six.noarch 0:1.10.0-9.el7 will be installed
---> Package sshpass.x86_64 0:1.06-1.el7 will be installed
--> Running transaction check
---> Package libtomcrypt.x86_64 0:1.17-25.el7 will be installed
--> Processing Dependency: libtommath >= 0.42.0 for package: libtomcrypt-1.17-25.el7.x86_64
--> Processing Dependency: libtommath.so.0()(64bit) for package: libtomcrypt-1.17-25.el7.x86_64
---> Package python-markupsafe.x86_64 0:0.11-10.el7 will be installed
---> Package python2-babel.noarch 0:2.3.4-1.el7 will be installed
--> Processing Dependency: pytz for package: python2-babel-2.3.4-1.el7.noarch
---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed
--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64
--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64
--> Processing Dependency: python-enum34 for package: python2-cryptography-1.7.2-2.el7.x86_64
--> Processing Dependency: python-ipaddress for package: python2-cryptography-1.7.2-2.el7.x86_64
---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed
--> Running transaction check
---> Package libtommath.x86_64 0:0.42.0-5.el7 will be installed
---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed
---> Package python-ipaddress.noarch 0:1.0.16-2.el7 will be installed
---> Package python2-cffi.x86_64 0:1.9.1-1.el7 will be installed
--> Processing Dependency: python-pycparser for package: python2-cffi-1.9.1-1.el7.x86_64
---> Package python2-idna.noarch 0:2.5-1.el7 will be installed
---> Package pytz.noarch 0:2016.10-2.el7 will be installed
--> Running transaction check
---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed
--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch
--> Running transaction check
---> Package python-ply.noarch 0:3.4-11.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================================================================================
Package Arch Version Repository Size
=======================================================================================================================================================
Installing:
ansible noarch 2.7.9-1.el7 ol7_developer 11 M
Installing for dependencies:
libtomcrypt x86_64 1.17-25.el7 ol7_developer_EPEL 224 k
libtommath x86_64 0.42.0-5.el7 ol7_developer_EPEL 35 k
python-enum34 noarch 1.0.4-1.el7 ol7_latest 52 k
python-httplib2 noarch 0.9.2-0.1.el7 ol7_developer_EPEL 115 k
python-ipaddress noarch 1.0.16-2.el7 ol7_latest 34 k
python-jinja2 noarch 2.8-5.el7 ol7_openstack30 450 k
python-keyczar noarch 0.71c-2.el7 ol7_developer_EPEL 217 k
python-markupsafe x86_64 0.11-10.el7 ol7_latest 25 k
python-paramiko noarch 2.1.1-9.el7 ol7_latest 268 k
python-ply noarch 3.4-11.el7 ol7_latest 122 k
python-pycparser noarch 2.14-1.el7 ol7_latest 104 k
python-setuptools noarch 18.0.1-2.el7 ol7_developer 417 k
python2-babel noarch 2.3.4-1.el7 ol7_openstack50 4.8 M
python2-cffi x86_64 1.9.1-1.el7 ol7_developer 220 k
python2-crypto x86_64 2.6.1-13.el7 ol7_developer_EPEL 476 k
python2-cryptography x86_64 1.7.2-2.el7 ol7_latest 498 k
python2-idna noarch 2.5-1.el7 ol7_developer 95 k
python2-jmespath noarch 0.9.3-1.el7 ol7_developer 40 k
python2-pyasn1 noarch 0.1.9-7.el7 ol7_latest 99 k
python2-six noarch 1.10.0-9.el7 ol7_openstack50 31 k
pytz noarch 2016.10-2.el7 ol7_latest 46 k
sshpass x86_64 1.06-1.el7 ol7_developer_EPEL 21 k
Transaction Summary
=======================================================================================================================================================
Install 1 Package (+22 Dependent packages)
Total download size: 20 M
Installed size: 96 M
Is this ok [y/d/N]: y
Downloading packages:
(1/23): python-enum34-1.0.4-1.el7.noarch.rpm | 52 kB 00:00:00
(2/23): libtommath-0.42.0-5.el7.x86_64.rpm | 35 kB 00:00:01
(3/23): python-ipaddress-1.0.16-2.el7.noarch.rpm | 34 kB 00:00:00
(4/23): libtomcrypt-1.17-25.el7.x86_64.rpm | 224 kB 00:00:02
(5/23): python-jinja2-2.8-5.el7.noarch.rpm | 450 kB 00:00:00
(6/23): python-markupsafe-0.11-10.el7.x86_64.rpm | 25 kB 00:00:00
(7/23): python-paramiko-2.1.1-9.el7.noarch.rpm | 268 kB 00:00:00
(8/23): python-ply-3.4-11.el7.noarch.rpm | 122 kB 00:00:00
(9/23): python-pycparser-2.14-1.el7.noarch.rpm | 104 kB 00:00:00
(10/23): python-httplib2-0.9.2-0.1.el7.noarch.rpm | 115 kB 00:00:01
(11/23): python-setuptools-18.0.1-2.el7.noarch.rpm | 417 kB 00:00:00
(12/23): python2-cffi-1.9.1-1.el7.x86_64.rpm | 220 kB 00:00:00
(13/23): python-keyczar-0.71c-2.el7.noarch.rpm | 217 kB 00:00:01
(14/23): python2-idna-2.5-1.el7.noarch.rpm | 95 kB 00:00:00
(15/23): python2-cryptography-1.7.2-2.el7.x86_64.rpm | 498 kB 00:00:00
(16/23): python2-pyasn1-0.1.9-7.el7.noarch.rpm | 99 kB 00:00:00
(17/23): python2-six-1.10.0-9.el7.noarch.rpm | 31 kB 00:00:00
(18/23): pytz-2016.10-2.el7.noarch.rpm | 46 kB 00:00:00
(19/23): python2-crypto-2.6.1-13.el7.x86_64.rpm | 476 kB 00:00:01
(20/23): python2-jmespath-0.9.3-1.el7.noarch.rpm | 40 kB 00:00:01
(21/23): sshpass-1.06-1.el7.x86_64.rpm | 21 kB 00:00:01
(22/23): python2-babel-2.3.4-1.el7.noarch.rpm | 4.8 MB 00:00:06
(23/23): ansible-2.7.9-1.el7.noarch.rpm | 11 MB 00:00:12
-------------------------------------------------------------------------------------------------------------------------------------------------------
Total 1.5 MB/s | 20 MB 00:00:12
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : python-setuptools-18.0.1-2.el7.noarch 1/23
Installing : python2-pyasn1-0.1.9-7.el7.noarch 2/23
Installing : python2-six-1.10.0-9.el7.noarch 3/23
Installing : python-ipaddress-1.0.16-2.el7.noarch 4/23
Installing : libtommath-0.42.0-5.el7.x86_64 5/23
Installing : libtomcrypt-1.17-25.el7.x86_64 6/23
Installing : python2-crypto-2.6.1-13.el7.x86_64 7/23
Installing : python-keyczar-0.71c-2.el7.noarch 8/23
Installing : python-ply-3.4-11.el7.noarch 9/23
Installing : python-pycparser-2.14-1.el7.noarch 10/23
Installing : python2-cffi-1.9.1-1.el7.x86_64 11/23
Installing : python-markupsafe-0.11-10.el7.x86_64 12/23
Installing : sshpass-1.06-1.el7.x86_64 13/23
Installing : pytz-2016.10-2.el7.noarch 14/23
Installing : python2-babel-2.3.4-1.el7.noarch 15/23
Installing : python-jinja2-2.8-5.el7.noarch 16/23
Installing : python-httplib2-0.9.2-0.1.el7.noarch 17/23
Installing : python2-jmespath-0.9.3-1.el7.noarch 18/23
Installing : python2-idna-2.5-1.el7.noarch 19/23
Installing : python-enum34-1.0.4-1.el7.noarch 20/23
Installing : python2-cryptography-1.7.2-2.el7.x86_64 21/23
Installing : python-paramiko-2.1.1-9.el7.noarch 22/23
Installing : ansible-2.7.9-1.el7.noarch 23/23
Verifying : python-jinja2-2.8-5.el7.noarch 1/23
Verifying : python-keyczar-0.71c-2.el7.noarch 2/23
Verifying : ansible-2.7.9-1.el7.noarch 3/23
Verifying : python-enum34-1.0.4-1.el7.noarch 4/23
Verifying : python2-crypto-2.6.1-13.el7.x86_64 5/23
Verifying : python2-idna-2.5-1.el7.noarch 6/23
Verifying : python2-jmespath-0.9.3-1.el7.noarch 7/23
Verifying : python-httplib2-0.9.2-0.1.el7.noarch 8/23
Verifying : pytz-2016.10-2.el7.noarch 9/23
Verifying : python2-six-1.10.0-9.el7.noarch 10/23
Verifying : sshpass-1.06-1.el7.x86_64 11/23
Verifying : python2-cffi-1.9.1-1.el7.x86_64 12/23
Verifying : python-markupsafe-0.11-10.el7.x86_64 13/23
Verifying : python-ply-3.4-11.el7.noarch 14/23
Verifying : python-paramiko-2.1.1-9.el7.noarch 15/23
Verifying : libtomcrypt-1.17-25.el7.x86_64 16/23
Verifying : python2-babel-2.3.4-1.el7.noarch 17/23
Verifying : libtommath-0.42.0-5.el7.x86_64 18/23
Verifying : python-pycparser-2.14-1.el7.noarch 19/23
Verifying : python-setuptools-18.0.1-2.el7.noarch 20/23
Verifying : python-ipaddress-1.0.16-2.el7.noarch 21/23
Verifying : python2-pyasn1-0.1.9-7.el7.noarch 22/23
Verifying : python2-cryptography-1.7.2-2.el7.x86_64 23/23
Installed:
ansible.noarch 0:2.7.9-1.el7
Dependency Installed:
libtomcrypt.x86_64 0:1.17-25.el7 libtommath.x86_64 0:0.42.0-5.el7 python-enum34.noarch 0:1.0.4-1.el7
python-httplib2.noarch 0:0.9.2-0.1.el7 python-ipaddress.noarch 0:1.0.16-2.el7 python-jinja2.noarch 0:2.8-5.el7
python-keyczar.noarch 0:0.71c-2.el7 python-markupsafe.x86_64 0:0.11-10.el7 python-paramiko.noarch 0:2.1.1-9.el7
python-ply.noarch 0:3.4-11.el7 python-pycparser.noarch 0:2.14-1.el7 python-setuptools.noarch 0:18.0.1-2.el7
python2-babel.noarch 0:2.3.4-1.el7 python2-cffi.x86_64 0:1.9.1-1.el7 python2-crypto.x86_64 0:2.6.1-13.el7
python2-cryptography.x86_64 0:1.7.2-2.el7 python2-idna.noarch 0:2.5-1.el7 python2-jmespath.noarch 0:0.9.3-1.el7
python2-pyasn1.noarch 0:0.1.9-7.el7 python2-six.noarch 0:1.10.0-9.el7 pytz.noarch 0:2016.10-2.el7
sshpass.x86_64 0:1.06-1.el7
Complete!
Once ansible is installed, you can verify the ansible version installed using below command.
ansible --version
Products to which Article Applies
Steps in this Article for installing ansible were tested on Oracle Linux 7. But the same steps should on other Linux Operating Systems as well using yum setup.
Additional Reference
tarun boyella
No comments:
Post a Comment