repo error from ansible target - amazon

6 views
Skip to first unread message

AQ

unread,
Apr 17, 2019, 7:22:26 PM4/17/19
to Ansible Project
[test@ip-172-31-1-143 ~]$ ansible webservers -m yum -a 'name=pyhton-pip state=present' -u test --become --ask-become-pass
SUDO password:
172.31.13.61 | FAILED! => {
    "changed": false,
    "failed": true,
    "msg": "Failure talking to yum: failure: repodata/repomd.xml from amzn2extra-epel-debuginfo: [Errno 256] No more mirrors to try.\nhttp://amazonlinux.ap-southeast-2.amazonaws.com/2/extras/epel/7.11/debuginfo/x86_64/b53de08042d71c98ad809672a924f0906ffce47fa14135f15d8d8c792bf84d75/repodata/repomd.xml: [Errno 14] HTTP Error 403 - Forbidden"


-----------------------------target (webserver)---------------------------

[test@ip-172-31-13-61 ~]$ yum repolist all
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
Trying other mirror.
Trying other mirror.
Trying other mirror.
repo id                                                       repo name                                                                                  status
amzn2-core/2/x86_64                                           Amazon Linux 2 core repository                                                             enabled: 16,458
amzn2-core-debuginfo/2/x86_64                                 Amazon Linux 2 core repository - debuginfo packages                                        enabled:  3,280
amzn2-core-source/2                                           Amazon Linux 2 core repository - source packages                                           enabled:  4,494
amzn2extra-docker/2/x86_64                                    Amazon Extras repo for docker                                                              enabled:     14
amzn2extra-docker-debuginfo/2/x86_64                          Amazon Extras debuginfo repo for docker                                                    enabled:     14
amzn2extra-docker-source/2                                    Amazon Extras source repo for docker                                                       enabled:     14
amzn2extra-epel/2/x86_64                                      Amazon Extras repo for epel                                                                enabled:      1
amzn2extra-epel-debuginfo/2/x86_64                            Amazon Extras debuginfo repo for epel                                                      enabled:      0
amzn2extra-epel-source/2                                      Amazon Extras source repo for epel                                                         enabled:      1
epel                                                          epelyumrepo                                                                                enabled: 13,051
epel-debuginfo/x86_64                                         Extra Packages for Enterprise Linux 7 - x86_64 - Debug                                     enabled:  2,881
epel-source/x86_64                                            Extra Packages for Enterprise Linux 7 - x86_64 - Source                                    enabled:  6,913
epel-testing/x86_64                                           Extra Packages for Enterprise Linux 7 - Testing - x86_64                                   enabled:    927
epel-testing-debuginfo/x86_64                                 Extra Packages for Enterprise Linux 7 - Testing - x86_64 - Debug                           enabled:    111
epel-testing-source/x86_64                                    Extra Packages for Enterprise Linux 7 - Testing - x86_64 - Source                          enabled:    339
mysql-cluster-7.5-community/x86_64                            MySQL Cluster 7.5 Community                                                                enabled:    145
mysql-cluster-7.5-community-source                            MySQL Cluster 7.5 Community - Source                                                       enabled:      8
mysql-cluster-7.6-community/x86_64                            MySQL Cluster 7.6 Community                                                                enabled:    144
mysql-cluster-7.6-community-source                            MySQL Cluster 7.6 Community - Source                                                       enabled:      8
mysql-connectors-community/x86_64                             MySQL Connectors Community                                                                 enabled:     95
mysql-connectors-community-source                             MySQL Connectors Community - Source                                                        enabled:     46
mysql-tools-community/x86_64                                  MySQL Tools Community                                                                      enabled:     84
mysql-tools-community-source                                  MySQL Tools Community - Source                                                             enabled:     42
mysql-tools-preview/x86_64                                    MySQL Tools Preview                                                                        enabled:     13
mysql-tools-preview-source                                    MySQL Tools Preview - Source                                                               enabled:      6
mysql55-community/x86_64                                      MySQL 5.5 Community Server                                                                 enabled:    427
mysql55-community-source                                      MySQL 5.5 Community Server - Source                                                        enabled:     28
mysql56-community/x86_64                                      MySQL 5.6 Community Server                                                                 enabled:    446
mysql56-community-source                                      MySQL 5.6 Community Server - Source                                                        enabled:     29
mysql57-community/x86_64                                      MySQL 5.7 Community Server                                                                 enabled:    327
mysql57-community-source                                      MySQL 5.7 Community Server - Source                                                        enabled:     17
mysql80-community/x86_64                                      MySQL 8.0 Community Server                                                                 enabled:     82
mysql80-community-source                                      MySQL 8.0 Community Server - Source                                                        enabled:      5
repolist: 50,450
[test@ip-172-31-13-61 ~]$

Jonathan Lozada De La Matta

unread,
Apr 17, 2019, 7:52:50 PM4/17/19
to ansible...@googlegroups.com
you have python-pip misspelled. 

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/4382bbba-aba9-49bb-ad16-43e2b3c17d39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Jonathan lozada de la matta

AUTOMATION PRACTICE



 

AQ

unread,
Apr 17, 2019, 7:55:28 PM4/17/19
to Ansible Project
corrected spelling still the same output by ansible

[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": "Failure talking to yum: failure: repodata/repomd.xml from amzn2extra-epel-debuginfo: [Errno 256] No more mirrors to try.\nhttp://amazonlinux.ap-southeast-2.amazonaws.com/2/extras/epel/7.11/debuginfo/x86_64/b53de08042d71c98ad809672a924f0906ffce47fa14135f15d8d8c792bf84d75/repodata/repomd.xml: [Errno 14] HTTP Error 403 - Forbidden"
---------------

Jonathan Lozada De La Matta

unread,
Apr 17, 2019, 8:11:58 PM4/17/19
to ansible...@googlegroups.com
this is not an ansible issue. Your yum repository is broken [Errno 14] HTTP Error 403 - Forbidden"

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

AQ

unread,
Apr 17, 2019, 8:21:58 PM4/17/19
to Ansible Project
how to fix a broken yum repository? thnx


On Thursday, April 18, 2019 at 10:11:58 AM UTC+10, Jonathan Lozada De La Matta wrote:
this is not an ansible issue. Your yum repository is broken [Errno 14] HTTP Error 403 - Forbidden"

To unsubscribe from this group and stop receiving emails from it, send an email to ansible...@googlegroups.com.

Jonathan Lozada De La Matta

unread,
Apr 17, 2019, 8:24:44 PM4/17/19
to ansible...@googlegroups.com

To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.

To post to this group, send email to ansible...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages