Fix ansible-lint truthy in module docstrings

This commit is contained in:
Chris Meyers 2025-01-14 15:06:30 -05:00 committed by Chris Meyers
parent 7fdd15f115
commit 5872a88a57
14 changed files with 19 additions and 19 deletions

View File

@ -117,7 +117,7 @@ EXAMPLES = """
- frequency: 'day'
interval: 1
byweekday: 'sunday'
include: False
include: false
"""
RETURN = """

View File

@ -106,7 +106,7 @@ extends_documentation_fragment: awx.awx.auth
EXAMPLES = '''
- name: Export all assets
export:
all: True
all: true
- name: Export all inventories
export:

View File

@ -95,8 +95,8 @@ EXAMPLES = '''
- fda
children:
- NewYork
preserve_existing_hosts: True
preserve_existing_children: True
preserve_existing_hosts: true
preserve_existing_children: true
'''
from ..module_utils.controller_api import ControllerAPIModule

View File

@ -36,7 +36,7 @@ extends_documentation_fragment: awx.awx.auth
EXAMPLES = '''
- name: Export all assets
export:
all: True
all: true
register: export_output
- name: Import all assets from our export

View File

@ -150,8 +150,8 @@ EXAMPLES = '''
description: Source for inventory
inventory: previously-created-inventory
credential: previously-created-credential
overwrite: True
update_on_launch: True
overwrite: true
update_on_launch: true
organization: Default
source_vars:
private: false

View File

@ -339,7 +339,7 @@ EXAMPLES = '''
- "2nd credential"
state: "present"
controller_config_file: "~/tower_cli.cfg"
survey_enabled: yes
survey_enabled: true
survey_spec: "{{ lookup('file', 'my_survey.json') }}"
- name: Add start notification to Job Template

View File

@ -147,8 +147,8 @@ EXAMPLES = '''
- user1@example.com
host: smtp.example.com
port: 25
use_tls: no
use_ssl: no
use_tls: false
use_ssl: false
state: present
controller_config_file: "~/tower_cli.cfg"
@ -188,7 +188,7 @@ EXAMPLES = '''
- user1
port: 8080
server: irc.example.com
use_ssl: no
use_ssl: false
state: present
controller_config_file: "~/tower_cli.cfg"

View File

@ -184,7 +184,7 @@ EXAMPLES = '''
name: "Foo"
description: "Foo bar project"
organization: "test"
scm_update_on_launch: True
scm_update_on_launch: true
scm_update_cache_timeout: 60
state: present
controller_config_file: "~/tower_cli.cfg"

View File

@ -74,7 +74,7 @@ EXAMPLES = '''
- name: Launch a Project with extra_vars without waiting
project_update:
project: "Networking Project"
wait: False
wait: false
'''
from ..module_utils.controller_api import ControllerAPIModule

View File

@ -182,7 +182,7 @@ EXAMPLES = '''
- frequency: 'day'
every: 1
on_days: 'sunday'
include: False
include: false
- name: Delete 'my_schedule' schedule for my_workflow
schedule:

View File

@ -92,7 +92,7 @@ EXAMPLES = '''
username: jdoe
password: foobarbaz
email: jdoe@example.org
superuser: yes
superuser: true
state: present
controller_config_file: "~/tower_cli.cfg"
@ -101,7 +101,7 @@ EXAMPLES = '''
username: jdoe
password: foobarbaz
email: jdoe@example.org
auditor: yes
auditor: true
state: present
controller_config_file: "~/tower_cli.cfg"

View File

@ -68,7 +68,7 @@ EXAMPLES = """
- name: Launch the workflow with a timeout of 10 seconds
workflow_launch:
workflow_template: "Test Workflow"
wait: False
wait: false
register: workflow
- name: Wait for approval node to activate and approve

View File

@ -97,7 +97,7 @@ EXAMPLES = '''
extra_vars:
var1: My First Variable
var2: My Second Variable
wait: False
wait: false
'''
from ..module_utils.controller_api import ControllerAPIModule

View File

@ -54,7 +54,7 @@ EXAMPLES = """
- name: Launch a workflow with a timeout of 10 seconds
workflow_launch:
workflow_template: "Test Workflow"
wait: False
wait: false
register: workflow
- name: Wait for a workflow node to finish