mirror of
https://github.com/thegeeklab/ansible-doctor.git
synced 2024-11-21 12:20:40 +00:00
fix: get role name from dependencies in case of a dictionary (#300)
This commit is contained in:
parent
9d26ba0238
commit
b6a2813114
@ -9,7 +9,9 @@
|
||||
{% set deps = meta.dependencies.value %}
|
||||
{% endif %}
|
||||
{% for item in deps %}
|
||||
- {{ item }}
|
||||
{% if item is string or item.role %}
|
||||
- {{ item if item is string else item.role }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
None.
|
||||
|
@ -153,6 +153,8 @@ demo_role_unset: some_value
|
||||
|
||||
## Discovered Tags
|
||||
|
||||
**_role-tag1_**
|
||||
|
||||
**_role-tag2_**
|
||||
|
||||
**_single-tag_**\
|
||||
@ -167,7 +169,8 @@ demo_role_unset: some_value
|
||||
|
||||
## Dependencies
|
||||
|
||||
None.
|
||||
- role1
|
||||
- role2
|
||||
|
||||
## License
|
||||
|
||||
|
@ -16,4 +16,6 @@ galaxy_info:
|
||||
galaxy_tags:
|
||||
- demo
|
||||
- documentation
|
||||
dependencies: []
|
||||
dependencies:
|
||||
- role1
|
||||
- role: role2
|
||||
|
Loading…
Reference in New Issue
Block a user