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

Fix return value documentation to use a valid value for 'type'. (#4142)

This commit is contained in:
Felix Fontein 2022-02-02 21:58:27 +01:00 committed by GitHub
parent 8b95c56030
commit 9322809b3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,23 +107,26 @@ RETURN = '''
- The type of the value that was changed (C(none) for C(get) and C(reset)
state). Either a single string value or a list of strings for array
types.
- This is a string or a list of strings.
returned: success
type: string or list of strings
type: any
sample: '"int" or ["str", "str", "str"]'
value:
description:
- The value of the preference key after executing the module. Either a
single string value or a list of strings for array types.
- This is a string or a list of strings.
returned: success
type: string or list of strings
type: any
sample: '"192" or ["orange", "yellow", "violet"]'
previous_value:
description:
- The value of the preference key before executing the module (C(none) for
C(get) state). Either a single string value or a list of strings for array
types.
- This is a string or a list of strings.
returned: success
type: string or list of strings
type: any
sample: '"96" or ["red", "blue", "green"]'
'''