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"
>
> On Wed, Apr 17, 2019 at 7:55 PM AQ <anas.qu...@gmail.com <javascript:>> 
> wrote:
>
>> 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"
>> ---------------
>>
>> On Thursday, April 18, 2019 at 9:22:26 AM UTC+10, AQ wrote:
>>>
>>> [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
>>>
>>> http://amazonlinux.ap-southeast-2.amazonaws.com/2/extras/epel/7.11/debuginfo/x86_64/b53de08042d71c98ad809672a924f0906ffce47fa14135f15d8d8c792bf84d75/repodata/repomd.xml:
>>>  
>>> [Errno 14] HTTP Error 403 - Forbidden
>>> Trying other mirror.
>>>
>>> http://amazonlinux.ap-southeast-2.amazonaws.com/2/extras/epel/7.11/debuginfo/x86_64/b53de08042d71c98ad809672a924f0906ffce47fa14135f15d8d8c792bf84d75/repodata/repomd.xml:
>>>  
>>> [Errno 14] HTTP Error 403 - Forbidden
>>> Trying other mirror.
>>>
>>> https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm/repodata/repomd.xml:
>>>  
>>> [Errno 14] HTTPS Error 404 - Not Found
>>> 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 ~]$
>>>
>>> -- 
>> 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...@googlegroups.com <javascript:>.
>> To post to this group, send email to ansible...@googlegroups.com 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/26ec1acd-df67-4e41-8e52-ff743abe549b%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/26ec1acd-df67-4e41-8e52-ff743abe549b%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
>
> Jonathan lozada de la matta
>
> AUTOMATION PRACTICE
>
>
>  
>
>

-- 
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-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/28964e11-ea05-4ed0-9607-c624363bedd3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to