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

playbooks_filters - minor fixes

This commit is contained in:
Gerard Lynch 2015-09-13 12:29:53 +01:00
parent f0efe1ecb0
commit e5211a9b18

View file

@ -364,7 +364,7 @@ style. For example the following::
{{ "Plain style (default)" | comment }} {{ "Plain style (default)" | comment }}
will produce the this output:: will produce this output::
# #
# Plain style (default) # Plain style (default)
@ -448,11 +448,11 @@ To separate the windows drive letter from the rest of a file path (new in versio
{{ path | win_splitdrive }} {{ path | win_splitdrive }}
To get only the windows drive letter To get only the windows drive letter::
{{ path | win_splitdrive | first }} {{ path | win_splitdrive | first }}
To get the rest of the path without the drive letter To get the rest of the path without the drive letter::
{{ path | win_splitdrive | last }} {{ path | win_splitdrive | last }}