I installed ansible on centos 7
[vagrant@localhost ~]$ sudo yum --enablerepo=epel install ansible Loaded plugins: fastestmirror epel/x86_64/metalink | 4.1 kB 00:00:00 epel | 4.3 kB 00:00:00 (1/2): epel/x86_64/updateinfo | 449 kB 00:00:00 epel/x86_64/primary_db FAILED ] 0.6 B/s | 451 kB 1852:24:17 ETA http://epel.mirror.srv.co.ge/7/x86_64/repodata/6e595251106e1901f12e2e2be67dc3e6b2568bfe68c77f18600c1334ffbf41a8-primary.sqlite.xz: [Errno 12] Timeout on http://epel.mirror.srv.co.ge/7/x86_64/repodata/6e595251106e1901f12e2e2be67dc3e6b2568bfe68c77f18600c1334ffbf41a8-primary.sqlite.xz: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds') Trying other mirror. (2/2): epel/x86_64/primary_db | 3.7 MB 00:00:00 Loading mirror speeds from cached hostfile * base: ftp.jaist.ac.jp * epel: ftp.jaist.ac.jp * extras: ftp.jaist.ac.jp * updates: ftp.jaist.ac.jp Resolving Dependencies --> Running transaction check ---> Package ansible.noarch 0:1.9.4-1.el7 will be installed --> Processing Dependency: sshpass for package: ansible-1.9.4-1.el7.noarch --> Processing Dependency: python-paramiko for package: ansible-1.9.4-1.el7.noarch --> Processing Dependency: python-keyczar for package: ansible-1.9.4-1.el7.noarch --> Processing Dependency: python-jinja2 for package: ansible-1.9.4-1.el7.noarch --> Processing Dependency: python-httplib2 for package: ansible-1.9.4-1.el7.noarch --> Processing Dependency: PyYAML for package: ansible-1.9.4-1.el7.noarch --> Running transaction check ---> Package PyYAML.x86_64 0:3.10-11.el7 will be installed --> Processing Dependency: libyaml-0.so.2()(64bit) for package: PyYAML-3.10-11.el7.x86_64 ---> Package python-httplib2.noarch 0:0.7.7-3.el7 will be installed ---> Package python-jinja2.noarch 0:2.7.2-2.el7 will be installed --> Processing Dependency: python-babel >= 0.8 for package: python-jinja2-2.7.2-2.el7.noarch --> Processing Dependency: python-markupsafe for package: python-jinja2-2.7.2-2.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 --> Processing Dependency: python-crypto for package: python-keyczar-0.71c-2.el7.noarch ---> Package python-paramiko.noarch 0:1.15.1-1.el7 will be installed --> Processing Dependency: python-ecdsa for package: python-paramiko-1.15.1-1.el7.noarch ---> Package sshpass.x86_64 0:1.05-5.el7 will be installed --> Running transaction check ---> Package libyaml.x86_64 0:0.1.4-11.el7_0 will be installed ---> Package python-babel.noarch 0:0.9.6-8.el7 will be installed ---> Package python-crypto.x86_64 0:2.6.1-1.el7.centos will be installed ---> Package python-ecdsa.noarch 0:0.11-3.el7.centos will be installed --> Processing Dependency: python-six for package: python-ecdsa-0.11-3.el7.centos.noarch ---> Package python-markupsafe.x86_64 0:0.11-10.el7 will be installed ---> Package python-pyasn1.noarch 0:0.1.6-2.el7 will be installed --> Running transaction check ---> Package python-six.noarch 0:1.9.0-2.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ======================================================================================================================== Package Arch Version Repository Size ======================================================================================================================== Installing: ansible noarch 1.9.4-1.el7 epel 1.7 M Installing for dependencies: PyYAML x86_64 3.10-11.el7 base 153 k libyaml x86_64 0.1.4-11.el7_0 base 55 k python-babel noarch 0.9.6-8.el7 base 1.4 M python-crypto x86_64 2.6.1-1.el7.centos extras 470 k python-ecdsa noarch 0.11-3.el7.centos extras 69 k python-httplib2 noarch 0.7.7-3.el7 epel 70 k python-jinja2 noarch 2.7.2-2.el7 base 515 k python-keyczar noarch 0.71c-2.el7 epel 218 k python-markupsafe x86_64 0.11-10.el7 base 25 k python-paramiko noarch 1.15.1-1.el7 epel 999 k python-pyasn1 noarch 0.1.6-2.el7 base 91 k python-six noarch 1.9.0-2.el7 base 29 k sshpass x86_64 1.05-5.el7 epel 21 k Transaction Summary ======================================================================================================================== Install 1 Package (+13 Dependent packages) Total download size: 5.7 M Installed size: 25 M Is this ok [y/d/N]: y Downloading packages: (1/14): PyYAML-3.10-11.el7.x86_64.rpm | 153 kB 00:00:00 (2/14): libyaml-0.1.4-11.el7_0.x86_64.rpm | 55 kB 00:00:00 (3/14): python-crypto-2.6.1-1.el7.centos.x86_64.rpm | 470 kB 00:00:00 (4/14): python-babel-0.9.6-8.el7.noarch.rpm | 1.4 MB 00:00:00 (5/14): python-ecdsa-0.11-3.el7.centos.noarch.rpm | 69 kB 00:00:00 warning: /var/cache/yum/x86_64/7/epel/packages/ansible-1.9.4-1.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY Public key for ansible-1.9.4-1.el7.noarch.rpm is not installed (6/14): ansible-1.9.4-1.el7.noarch.rpm | 1.7 MB 00:00:01 (7/14): python-httplib2-0.7.7-3.el7.noarch.rpm | 70 kB 00:00:00 (8/14): python-jinja2-2.7.2-2.el7.noarch.rpm | 515 kB 00:00:00 (9/14): python-keyczar-0.71c-2.el7.noarch.rpm | 218 kB 00:00:00 (10/14): python-pyasn1-0.1.6-2.el7.noarch.rpm | 91 kB 00:00:00 (11/14): python-markupsafe-0.11-10.el7.x86_64.rpm | 25 kB 00:00:00 (12/14): python-paramiko-1.15.1-1.el7.noarch.rpm | 999 kB 00:00:00 (13/14): sshpass-1.05-5.el7.x86_64.rpm | 21 kB 00:00:00 (14/14): python-six-1.9.0-2.el7.noarch.rpm | 29 kB 00:00:00 ------------------------------------------------------------------------------------------------------------------------ Total 2.9 MB/s | 5.7 MB 00:00:01 Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 Importing GPG key 0x352C64E5: Userid : "Fedora EPEL (7) <epel@fedoraproject.org>" Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5 Package : epel-release-7-5.noarch (@extras) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 Is this ok [y/N]: y Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : python-crypto-2.6.1-1.el7.centos.x86_64 1/14 Installing : sshpass-1.05-5.el7.x86_64 2/14 Installing : python-babel-0.9.6-8.el7.noarch 3/14 Installing : python-pyasn1-0.1.6-2.el7.noarch 4/14 Installing : python-keyczar-0.71c-2.el7.noarch 5/14 Installing : python-six-1.9.0-2.el7.noarch 6/14 Installing : python-ecdsa-0.11-3.el7.centos.noarch 7/14 Installing : python-paramiko-1.15.1-1.el7.noarch 8/14 Installing : python-httplib2-0.7.7-3.el7.noarch 9/14 Installing : python-markupsafe-0.11-10.el7.x86_64 10/14 Installing : python-jinja2-2.7.2-2.el7.noarch 11/14 Installing : libyaml-0.1.4-11.el7_0.x86_64 12/14 Installing : PyYAML-3.10-11.el7.x86_64 13/14 Installing : ansible-1.9.4-1.el7.noarch 14/14 Verifying : python-keyczar-0.71c-2.el7.noarch 1/14 Verifying : libyaml-0.1.4-11.el7_0.x86_64 2/14 Verifying : python-jinja2-2.7.2-2.el7.noarch 3/14 Verifying : python-markupsafe-0.11-10.el7.x86_64 4/14 Verifying : python-httplib2-0.7.7-3.el7.noarch 5/14 Verifying : python-six-1.9.0-2.el7.noarch 6/14 Verifying : python-crypto-2.6.1-1.el7.centos.x86_64 7/14 Verifying : python-pyasn1-0.1.6-2.el7.noarch 8/14 Verifying : PyYAML-3.10-11.el7.x86_64 9/14 Verifying : ansible-1.9.4-1.el7.noarch 10/14 Verifying : python-babel-0.9.6-8.el7.noarch 11/14 Verifying : sshpass-1.05-5.el7.x86_64 12/14 Verifying : python-ecdsa-0.11-3.el7.centos.noarch 13/14 Verifying : python-paramiko-1.15.1-1.el7.noarch 14/14 Installed: ansible.noarch 0:1.9.4-1.el7 Dependency Installed: PyYAML.x86_64 0:3.10-11.el7 libyaml.x86_64 0:0.1.4-11.el7_0 python-babel.noarch 0:0.9.6-8.el7 python-crypto.x86_64 0:2.6.1-1.el7.centos python-ecdsa.noarch 0:0.11-3.el7.centos python-httplib2.noarch 0:0.7.7-3.el7 python-jinja2.noarch 0:2.7.2-2.el7 python-keyczar.noarch 0:0.71c-2.el7 python-markupsafe.x86_64 0:0.11-10.el7 python-paramiko.noarch 0:1.15.1-1.el7 python-pyasn1.noarch 0:0.1.6-2.el7 python-six.noarch 0:1.9.0-2.el7 sshpass.x86_64 0:1.05-5.el7 Complete! [vagrant@localhost ~]$