更新Ansible Galaxy页面

时间:2018-10-23 02:22:37

标签: ansible ansible-role ansible-galaxy

我已经对galaxy.ansible.com承担了职责

现在,我在Github上对自述文件进行了一些更改。

我如何告诉galaxy.ansible.com重新阅读Github存储库?

3 个答案:

答案 0 :(得分:0)

要使更改后的Github存储库生效,您需要使用新的 version / tag 标记Github存储库,如果该存储库已正确链接到您的星系存储库,标记完成后,更改也应反映在您的银河回购中。

您可以通过以下链接关注ansible-galaxy的发布过程:https://galaxy.ansible.com/docs/developers/workflow.html#release-process

答案 1 :(得分:0)

答案 2 :(得分:0)

由@justjais指导,答案是:

  1. git tag -a v1.0 abc123,其中abc123是提交ID。
  2. git push --tags https://github.com/YOURUSER/YOURREPO
  3. 登录galaxy.ansible.com,然后单击update按钮。

编辑:Gundalow击败了我。重新分配答案(应归原因)。