mirror of
https://github.com/thegeeklab/ansible-doctor.git
synced 2024-11-25 06:10: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 %}
|
{% if meta.dependencies.value is mapping %}
|
||||||
{{ meta.dependencies.value.dependencies | to_nice_yaml(indent=0) }}
|
{{ meta.dependencies.value.dependencies | to_nice_yaml(indent=0) }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% for line in meta.dependencies.value %}
|
{{ meta.dependencies.value | to_nice_yaml(indent=0) }}
|
||||||
{{ line }}
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
None.
|
None.
|
||||||
|
@ -6,9 +6,7 @@
|
|||||||
{% if meta.dependencies.value is mapping %}
|
{% if meta.dependencies.value is mapping %}
|
||||||
{{ meta.dependencies.value.dependencies | to_nice_yaml(indent=0) }}
|
{{ meta.dependencies.value.dependencies | to_nice_yaml(indent=0) }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% for line in meta.dependencies.value %}
|
{{ meta.dependencies.value | to_nice_yaml(indent=0) }}
|
||||||
{{ line }}
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
None.
|
None.
|
||||||
|
Loading…
Reference in New Issue
Block a user