mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Fix ansible-lint truthy in module docstrings
This commit is contained in:
parent
cc6337b344
commit
ae0d6b70a0
@ -117,7 +117,7 @@ EXAMPLES = """
|
||||
- frequency: 'day'
|
||||
interval: 1
|
||||
byweekday: 'sunday'
|
||||
include: False
|
||||
include: false
|
||||
"""
|
||||
|
||||
RETURN = """
|
||||
|
||||
@ -101,7 +101,7 @@ extends_documentation_fragment: awx.awx.auth
|
||||
EXAMPLES = '''
|
||||
- name: Export all assets
|
||||
export:
|
||||
all: True
|
||||
all: true
|
||||
|
||||
- name: Export all inventories
|
||||
export:
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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:
|
||||
|
||||
@ -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"
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user