Hi,
I have the bellow local fact working :
# /etc/ansible/facts.d/monitoring.fact
[tags]
web=
db=
app=
In my template I have the bellow jinja code :
{% for facts in ansible_local.monitoring.tags %}
{{ facts }}
{% endfor %}
However this is rendering the facts tags like this :
web
app
db
I would like to have them in the same line like this :
web app db
Is there a new line escape character in Jinja that I can use ?
PS: why doesn't Ansible display the facts in the correct order they are
defined ? *web app db* instead of *web db app* ?
Thanks in advance,
N.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/cfe507d0-2a11-473c-8b03-8b159afa9446%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.