Normalize more booleans. (#5247)

This commit is contained in:
Felix Fontein 2022-09-06 20:42:17 +02:00 committed by GitHub
commit 015566fb06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
170 changed files with 465 additions and 465 deletions

View file

@ -23,7 +23,7 @@ DOCUMENTATION = '''
- To create the cgroup, first use a command such as C(sudo cgcreate -a ec2-user:ec2-user -t ec2-user:ec2-user -g memory:ansible_profile)
options:
max_mem_file:
required: True
required: true
description: Path to cgroups C(memory.max_usage_in_bytes) file. Example C(/sys/fs/cgroup/memory/ansible_profile/memory.max_usage_in_bytes)
env:
- name: CGROUP_MAX_MEM_FILE
@ -31,7 +31,7 @@ DOCUMENTATION = '''
- section: callback_cgroupmemrecap
key: max_mem_file
cur_mem_file:
required: True
required: true
description: Path to C(memory.usage_in_bytes) file. Example C(/sys/fs/cgroup/memory/ansible_profile/memory.usage_in_bytes)
env:
- name: CGROUP_CUR_MEM_FILE

View file

@ -713,7 +713,7 @@ playbook.yml: >
- name: Using alias vars (see ansible.cfg)
ansible.builtin.debug:
msg:
when: False
when: false
vars:
ansible_callback_diy_playbook_on_task_start_msg: ""
on_skipped_msg: "DIY output(via task vars): skipped example:\n\e[0m\e[38;5;4m\u25b6\u25b6 {{ ansible_callback_diy.result.task.name }}\n"

View file

@ -21,7 +21,7 @@ DOCUMENTATION = '''
options:
token:
description: HipChat API token for v1 or v2 API.
required: True
required: true
env:
- name: HIPCHAT_TOKEN
ini:
@ -29,7 +29,7 @@ DOCUMENTATION = '''
key: token
api_version:
description: HipChat API version, v1 or v2.
required: False
required: false
default: v1
env:
- name: HIPCHAT_API_VERSION
@ -55,7 +55,7 @@ DOCUMENTATION = '''
notify:
description: Add notify flag to important messages
type: bool
default: True
default: true
env:
- name: HIPCHAT_NOTIFY
ini:

View file

@ -20,22 +20,22 @@ DOCUMENTATION = '''
options:
server:
description: connection info to jabber server
required: True
required: true
env:
- name: JABBER_SERV
user:
description: Jabber user to authenticate as
required: True
required: true
env:
- name: JABBER_USER
password:
description: Password for the user to the jabber server
required: True
required: true
env:
- name: JABBER_PASS
to:
description: chat identifier that will receive the message
required: True
required: true
env:
- name: JABBER_TO
'''

View file

@ -18,7 +18,7 @@ DOCUMENTATION = '''
- whitelisting in configuration
options:
conf_key:
required: True
required: true
description: LogDNA Ingestion Key
type: string
env:
@ -27,7 +27,7 @@ DOCUMENTATION = '''
- section: callback_logdna
key: conf_key
plugin_ignore_errors:
required: False
required: false
description: Whether to ignore errors on failing or not
type: boolean
env:
@ -35,9 +35,9 @@ DOCUMENTATION = '''
ini:
- section: callback_logdna
key: plugin_ignore_errors
default: False
default: false
conf_hostname:
required: False
required: false
description: Alternative Host Name; the current host name by default
type: string
env:
@ -46,7 +46,7 @@ DOCUMENTATION = '''
- section: callback_logdna
key: conf_hostname
conf_tags:
required: False
required: false
description: Tags
type: string
env:

View file

@ -48,7 +48,7 @@ DOCUMENTATION = '''
description: The logentries "TCP token"
env:
- name: LOGENTRIES_ANSIBLE_TOKEN
required: True
required: true
ini:
- section: callback_logentries
key: token
@ -57,7 +57,7 @@ DOCUMENTATION = '''
- Toggle to decide whether to use TLS to encrypt the communications with the API server
env:
- name: LOGENTRIES_USE_TLS
default: False
default: false
type: boolean
ini:
- section: callback_logentries
@ -65,7 +65,7 @@ DOCUMENTATION = '''
flatten:
description: flatten complex data structures into a single dictionary with complex keys
type: boolean
default: False
default: false
env:
- name: LOGENTRIES_FLATTEN
ini:

View file

@ -21,7 +21,7 @@ DOCUMENTATION = '''
- If you increase verbosity all tasks are printed.
options:
nocolor:
default: False
default: false
description: This setting allows suppressing colorizing output
env:
- name: ANSIBLE_NOCOLOR

View file

@ -21,7 +21,7 @@ DOCUMENTATION = '''
- Before 2.4 only environment variables were available for configuring this plugin
options:
webhook_url:
required: True
required: true
description: Slack Webhook URL
env:
- name: SLACK_WEBHOOK_URL
@ -51,7 +51,7 @@ DOCUMENTATION = '''
ini:
- section: callback_slack
key: validate_certs
default: True
default: true
type: bool
'''