ansible-role-jenkins icon indicating copy to clipboard operation
ansible-role-jenkins copied to clipboard

Role can fail on just one failed attempt to download repo, repo key, or specific Jenkins install

Open CloudSurgeon opened this issue 6 years ago • 4 comments

Since all three of these mechanisms are pulling from external urls, a result->until-> retries pattern should be used. (the jenkins site was giving me fits today).

delphix-tcw-centos7-kitchen_sink: TASK [geerlingguy.jenkins : Ensure Jenkins repo is installed.] ***************** delphix-tcw-centos7-kitchen_sink: changed: [default] delphix-tcw-centos7-kitchen_sink: delphix-tcw-centos7-kitchen_sink: TASK [geerlingguy.jenkins : Add Jenkins repo GPG key.] ************************* delphix-tcw-centos7-kitchen_sink: fatal: [default]: FAILED! => {"changed": false, "msg": "failed to fetch key at https://pkg.jenkins.io/redhat/jenkins.io.key , error was: Request failed: <urlopen error timed out>"} delphix-tcw-centos7-kitchen_sink: delphix-tcw-centos7-kitchen_sink: PLAY RECAP ********************************************************************* delphix-tcw-centos7-kitchen_sink: default

CloudSurgeon avatar Oct 25 '19 09:10 CloudSurgeon

Good idea; I have also run into this error plenty of times, as the Jenkins servers are notoriously flaky...

geerlingguy avatar Mar 04 '20 16:03 geerlingguy

Awaiting #279

CloudSurgeon avatar Mar 06 '20 06:03 CloudSurgeon

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale[bot] avatar Jun 04 '20 08:06 stale[bot]

This issue is no longer marked for closure.

stale[bot] avatar Jun 07 '20 02:06 stale[bot]