Adjust booleans in misc modules. (#5160) (#5174)

(cherry picked from commit 403c4f7477)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2022-08-24 20:29:08 +02:00 committed by GitHub
commit c5ff49db56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 110 additions and 110 deletions

View file

@ -56,8 +56,8 @@ EXAMPLES = r'''
username: "{{influxdb_username}}"
password: "{{influxdb_password}}"
database_name: "{{influxdb_database_name}}"
ssl: yes
validate_certs: yes
ssl: true
validate_certs: true
'''
RETURN = r'''

View file

@ -77,8 +77,8 @@ EXAMPLES = r'''
policy_name: test
duration: 1h
replication: 1
ssl: yes
validate_certs: yes
ssl: true
validate_certs: true
state: present
- name: Create 1 day retention policy with 1 hour shard group duration
@ -108,8 +108,8 @@ EXAMPLES = r'''
policy_name: test
duration: INF
replication: 1
ssl: no
validate_certs: no
ssl: false
validate_certs: false
shard_group_duration: 1w
state: present
@ -120,8 +120,8 @@ EXAMPLES = r'''
policy_name: test
duration: 5d1h30m
replication: 1
ssl: no
validate_certs: no
ssl: false
validate_certs: false
shard_group_duration: 1d10h30m
state: present

View file

@ -35,7 +35,7 @@ options:
description:
- Whether the user should be in the admin role or not.
- Since version 2.8, the role will also be updated.
default: no
default: false
type: bool
state:
description:
@ -73,7 +73,7 @@ EXAMPLES = r'''
community.general.influxdb_user:
user_name: john
user_password: s3cr3t
admin: yes
admin: true
hostname: "{{ influxdb_hostname }}"
login_username: "{{ influxdb_username }}"
login_password: "{{ influxdb_password }}"