admin管理员组文章数量:1435859
I'm building an execution environment and it fails running ansible-galaxy collection install
. I get this error:
ERROR! Error when getting collection version metadata for redhat.satellite_operations:3.0.0 from automation_hub (/) (HTTP Code: 401, Message: Invalid JWT token - 'exp' claim expired at Fri, 15 Nov 2024 21:50:24 GMT Code: Unknown)
This is the command:
ANSIBLE_GALAXY_DISABLE_GPG_VERIFY=1 ansible-galaxy collection install --pre --verbose -r requirements.yml --collections-path "/usr/share/ansible/collections"
There are a number of collections and this step takes quite long (fails at ~17min). I think this is the reason for the error. When I limit the number of collections to 4 or so, it runs ~12min and completes successfully.
I'm trying to figure out a way around it. I tried adding --timeout 1000
to ansible-galaxy
, but no luck.
Is there any way to prevent the JWT from expiring when the command takes too long to run? Or another way to fix this issue?
本文标签: quotInvalid JWT token39exp39 claim expiredquot error from ansiblegalaxyStack Overflow
版权声明:本文标题:"Invalid JWT token - 'exp' claim expired" error from ansible-galaxy - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745667634a2669377.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论