mirror of
https://github.com/thegeeklab/ansible-doctor.git
synced 2024-11-22 04:40:43 +00:00
use to_nice_yaml for dep lists also
This commit is contained in:
parent
2b4de240be
commit
a258240b3f
@ -6,9 +6,7 @@
|
||||
{% if meta.dependencies.value is mapping %}
|
||||
{{ meta.dependencies.value.dependencies | to_nice_yaml(indent=0) }}
|
||||
{% else %}
|
||||
{% for line in meta.dependencies.value %}
|
||||
{{ line }}
|
||||
{% endfor %}
|
||||
{{ meta.dependencies.value | to_nice_yaml(indent=0) }}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
None.
|
||||
|
@ -6,9 +6,7 @@
|
||||
{% if meta.dependencies.value is mapping %}
|
||||
{{ meta.dependencies.value.dependencies | to_nice_yaml(indent=0) }}
|
||||
{% else %}
|
||||
{% for line in meta.dependencies.value %}
|
||||
{{ line }}
|
||||
{% endfor %}
|
||||
{{ meta.dependencies.value | to_nice_yaml(indent=0) }}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
None.
|
||||
|
Loading…
Reference in New Issue
Block a user