[test@ip-172-31-1-143 ~]$ ansible webservers -m yum -a ‘name=python-pip state=present’ -u test --become --ask-become-pass
SUDO password:
172.31.13.61 | FAILED! => {
“changed”: false,
“failed”: true,
“msg”: “https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found\nTrying other mirror.\nhttps://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm/Packages/p/python2-pip-8.1.2-8.el7.noarch.rpm: [Errno 14] HTTPS Error 404 - Not Found\nTrying other mirror.\n\n\nError downloading packages:\n python2-pip-8.1.2-8.el7.noarch: [Errno 256] No more mirrors to try.\n\n”,
“rc”: 1,
“results”: [
“Loaded plugins: extras_suggestions, langpacks, priorities, update-motd\nResolving Dependencies\n → Running transaction check\n—> Package python2-pip.noarch 0:8.1.2-8.el7 will be installed\n → Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n python2-pip noarch 8.1.2-8.el7 epel 1.7 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 1.7 M\nInstalled size: 7.2 M\nDownloading packages:\nDelta RPMs disabled because /usr/bin/applydeltarpm not installed.\n”
]
}