1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add reference to the join filter.

This commit is contained in:
Nick Zaccardi 2014-04-12 21:26:08 -04:00
parent b0556ab1fb
commit a6c00989d1

View file

@ -260,6 +260,10 @@ Get a random number from 1 to 100 but in steps of 10::
Other Useful Filters Other Useful Filters
-------------------- --------------------
To concatenate a list into a string::
{{ list | join(" ") }}
To get the last name of a file path, like 'foo.txt' out of '/etc/asdf/foo.txt':: To get the last name of a file path, like 'foo.txt' out of '/etc/asdf/foo.txt'::
{{ path | basename }} {{ path | basename }}