Fix test docs (#78756)

pull/78771/head
Felix Fontein 2 years ago committed by GitHub
parent 8090ee3e78
commit 695c48957d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,7 +13,7 @@ DOCUMENTATION:
description: A path.
type: path
EXAMPLES:
EXAMPLES: |
is_path_absolute: "{{ '/etc/hosts' is abs }}}"
relative_paths: "{{ all_paths | reject('abs') }}"

@ -10,7 +10,7 @@ DOCUMENTATION:
description: A path.
type: path
EXAMPLES:
EXAMPLES: |
vars:
my_etc_hosts_not_a_dir: "{{ '/etc/hosts' is directory}}"
list_of_files: "{{ list_of_paths | reject('directory') }}"

@ -11,7 +11,7 @@ DOCUMENTATION:
description: a path
type: path
EXAMPLES:
EXAMPLES: |
vars:
my_etc_hosts_exists: "{{ '/etc/hosts' is exist }}"
list_of_local_files_to_copy_to_remote: "{{ list_of_all_possible_files | select('exists') }}"

@ -11,7 +11,7 @@ DOCUMENTATION:
description: A path.
type: path
EXAMPLES:
EXAMPLES: |
vars:
my_etc_hosts_is_a_file: "{{ '/etc/hosts' is file }}"
list_of_files: "{{ list_of_paths | select('file') }}"

@ -11,7 +11,7 @@ DOCUMENTATION:
description: A path.
type: path
EXAMPLES:
EXAMPLES: |
ismyhostsalink: "{{ '/etc/hosts' is link}}"
list_of_symlinks: "{{ list_of_paths | select('link') }}"

@ -11,7 +11,7 @@ DOCUMENTATION:
description: A path.
type: path
EXAMPLES:
EXAMPLES: |
ismyhostsalink: "{{ '/etc/hosts' is link_exists}}"
list_of_symlinks: "{{ list_of_paths | select('link_exists') }}"

@ -16,7 +16,7 @@ DOCUMENTATION:
required: True
ignorecase:
description: Use case insenstive matching.
type:
type: boolean
default: False
multiline:
description: Match against mulitple lines in string.

@ -11,7 +11,7 @@ DOCUMENTATION:
description: A path.
type: path
EXAMPLES:
EXAMPLES: |
vars:
ihopefalse: "{{ '/etc/hosts' is mount }}"
normallytrue: "{{ '/tmp' is mount }}"

@ -11,7 +11,7 @@ DOCUMENTATION:
description: Possible number representation or string that can be converted into one.
type: raw
required: true
EXAMPLES:
EXAMPLES: |
isnan: "{{ '42' is nan }}"
RETURN:

@ -15,7 +15,7 @@ DOCUMENTATION:
required: True
ignorecase:
description: Use case insenstive matching.
type:
type: boolean
default: False
multiline:
description: Match against mulitple lines in string.

Loading…
Cancel
Save