Fix callback config typos (#45316)

* plugins/callbacks : fix some key documentation (#45267)

These are supposed to be a dictionary with section/key entries;
correct a few typos.

(cherry picked from commit c34e0f5e11)

* backport of #45267
pull/45344/head
Brian Coca 6 years ago committed by Toshio Kuratomi
parent 08542720e5
commit 26a96c72b2

@ -0,0 +1,2 @@
bugfixes:
- fixed typo in config that prevented keys matching

@ -24,7 +24,7 @@ DOCUMENTATION = '''
- name: HIPCHAT_TOKEN - name: HIPCHAT_TOKEN
ini: ini:
- section: callback_hipchat - section: callback_hipchat
- key: token key: token
api_version: api_version:
description: HipChat API version, v1 or v2. description: HipChat API version, v1 or v2.
required: False required: False
@ -33,7 +33,7 @@ DOCUMENTATION = '''
- name: HIPCHAT_API_VERSION - name: HIPCHAT_API_VERSION
ini: ini:
- section: callback_hipchat - section: callback_hipchat
- key: api_version key: api_version
room: room:
description: HipChat room to post in. description: HipChat room to post in.
default: ansible default: ansible
@ -41,7 +41,7 @@ DOCUMENTATION = '''
- name: HIPCHAT_ROOM - name: HIPCHAT_ROOM
ini: ini:
- section: callback_hipchat - section: callback_hipchat
- key: room key: room
from: from:
description: Name to post as description: Name to post as
default: ansible default: ansible
@ -49,7 +49,7 @@ DOCUMENTATION = '''
- name: HIPCHAT_FROM - name: HIPCHAT_FROM
ini: ini:
- section: callback_hipchat - section: callback_hipchat
- key: from key: from
notify: notify:
description: Add notify flag to important messages description: Add notify flag to important messages
type: bool type: bool
@ -58,7 +58,7 @@ DOCUMENTATION = '''
- name: HIPCHAT_NOTIFY - name: HIPCHAT_NOTIFY
ini: ini:
- section: callback_hipchat - section: callback_hipchat
- key: notify key: notify
''' '''

@ -26,7 +26,7 @@ DOCUMENTATION = """
- name: ANSIBLE_SELECTIVE_DONT_COLORIZE - name: ANSIBLE_SELECTIVE_DONT_COLORIZE
ini: ini:
- section: defaults - section: defaults
- key: nocolor key: nocolor
type: boolean type: boolean
""" """

Loading…
Cancel
Save