Skip to content

Commit

Permalink
Prove of concept to link to role dependencies on GitHub. Closes #14.
Browse files Browse the repository at this point in the history
  • Loading branch information
ypid committed Aug 11, 2015
1 parent 66fe53b commit 8d0c65d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ansigenome/data/README.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ This role requires at least Ansible{% if galaxy_info.min_ansible_version is defi
### Role dependencies

{% for dependency in dependencies | unique_dict("role") %}
- `{{ dependency.role | trim }}`{% endfor %}
{# Assume that scm.host and scm.repo_prefix are the same for this role and all it’s dependencies #}
- [`{{ dependency.role | trim }}`]({{ scm.host }}/{{ dependency.role | replace('.', '/' + scm.repo_prefix) }})
{% endfor %}
{% endblock %}
{% endif %}

Expand Down

0 comments on commit 8d0c65d

Please sign in to comment.