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:
parent
f0efe1ecb0
commit
e5211a9b18
1 changed files with 3 additions and 3 deletions
|
@ -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 }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue