Fix for roles that have not been published.

This commit is contained in:
Robert de Bock 2020-07-17 10:49:44 +02:00
parent f682c0bea4
commit d50711c5d4
2 changed files with 3 additions and 0 deletions

View File

@ -134,6 +134,7 @@
uri: uri:
url: "https://api.github.com/repos/robertdebock/ansible-role-{{ role_name }}/contributors" url: "https://api.github.com/repos/robertdebock/ansible-role-{{ role_name }}/contributors"
register: github_contributors register: github_contributors
failed_when: no
- name: generate secure hash - name: generate secure hash
command: "/usr/bin/travis encrypt --pro robertdebock:{{ secure.slack_token }} --no-interactive" command: "/usr/bin/travis encrypt --pro robertdebock:{{ secure.slack_token }} --no-interactive"

View File

@ -143,11 +143,13 @@ image="debian" tag="stable" tox
I'd like to thank everybody that made contributions to this repository. It motivates me, improves the code and is just fun to collaborate. I'd like to thank everybody that made contributions to this repository. It motivates me, improves the code and is just fun to collaborate.
{% if github_contributors.json is defined and contributor.login is defined %}
{% for contributor in github_contributors.json %}{% if contributor.login != "robertdebock" %} {% for contributor in github_contributors.json %}{% if contributor.login != "robertdebock" %}
- [{{ contributor.login }}](https://github.com/{{ contributor.login }}) - [{{ contributor.login }}](https://github.com/{{ contributor.login }})
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% endif %}
## [Author Information](#author-information) ## [Author Information](#author-information)