diff options
author | Chris Meyers <chris.meyers.fsu@gmail.com> | 2025-01-14 21:06:30 +0100 |
---|---|---|
committer | Chris Meyers <chrismeyersfsu@users.noreply.github.com> | 2025-01-15 19:49:09 +0100 |
commit | ae0d6b70a0e897914771b6e7ab9a87c4f5c034de (patch) | |
tree | 039d40a30acbe9a5e05797b9c3987948448e578c | |
parent | Fix ansible-lint indentation in module docstrings (diff) | |
download | awx-ae0d6b70a0e897914771b6e7ab9a87c4f5c034de.tar.xz awx-ae0d6b70a0e897914771b6e7ab9a87c4f5c034de.zip |
Fix ansible-lint truthy in module docstrings
-rw-r--r-- | awx_collection/plugins/lookup/schedule_rruleset.py | 2 | ||||
-rw-r--r-- | awx_collection/plugins/modules/export.py | 2 | ||||
-rw-r--r-- | awx_collection/plugins/modules/group.py | 4 | ||||
-rw-r--r-- | awx_collection/plugins/modules/import.py | 2 | ||||
-rw-r--r-- | awx_collection/plugins/modules/inventory_source.py | 4 | ||||
-rw-r--r-- | awx_collection/plugins/modules/job_template.py | 2 | ||||
-rw-r--r-- | awx_collection/plugins/modules/notification_template.py | 6 | ||||
-rw-r--r-- | awx_collection/plugins/modules/project.py | 2 | ||||
-rw-r--r-- | awx_collection/plugins/modules/project_update.py | 2 | ||||
-rw-r--r-- | awx_collection/plugins/modules/schedule.py | 2 | ||||
-rw-r--r-- | awx_collection/plugins/modules/user.py | 4 | ||||
-rw-r--r-- | awx_collection/plugins/modules/workflow_approval.py | 2 | ||||
-rw-r--r-- | awx_collection/plugins/modules/workflow_launch.py | 2 | ||||
-rw-r--r-- | awx_collection/plugins/modules/workflow_node_wait.py | 2 |
14 files changed, 19 insertions, 19 deletions
diff --git a/awx_collection/plugins/lookup/schedule_rruleset.py b/awx_collection/plugins/lookup/schedule_rruleset.py index 2ab34d5942..21ca283c2c 100644 --- a/awx_collection/plugins/lookup/schedule_rruleset.py +++ b/awx_collection/plugins/lookup/schedule_rruleset.py @@ -117,7 +117,7 @@ EXAMPLES = """ - frequency: 'day' interval: 1 byweekday: 'sunday' - include: False + include: false """ RETURN = """ diff --git a/awx_collection/plugins/modules/export.py b/awx_collection/plugins/modules/export.py index 537a8e2fe9..4acd7db20d 100644 --- a/awx_collection/plugins/modules/export.py +++ b/awx_collection/plugins/modules/export.py @@ -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: diff --git a/awx_collection/plugins/modules/group.py b/awx_collection/plugins/modules/group.py index 32b7e4104c..a746f646d4 100644 --- a/awx_collection/plugins/modules/group.py +++ b/awx_collection/plugins/modules/group.py @@ -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 diff --git a/awx_collection/plugins/modules/import.py b/awx_collection/plugins/modules/import.py index ae0180ccd1..ad53a91dd7 100644 --- a/awx_collection/plugins/modules/import.py +++ b/awx_collection/plugins/modules/import.py @@ -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 diff --git a/awx_collection/plugins/modules/inventory_source.py b/awx_collection/plugins/modules/inventory_source.py index 76f1d4234e..ede34481d9 100644 --- a/awx_collection/plugins/modules/inventory_source.py +++ b/awx_collection/plugins/modules/inventory_source.py @@ -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 diff --git a/awx_collection/plugins/modules/job_template.py b/awx_collection/plugins/modules/job_template.py index 6f09e2a5aa..3ba9883f29 100644 --- a/awx_collection/plugins/modules/job_template.py +++ b/awx_collection/plugins/modules/job_template.py @@ -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 diff --git a/awx_collection/plugins/modules/notification_template.py b/awx_collection/plugins/modules/notification_template.py index 50469d2e99..cc0c28317f 100644 --- a/awx_collection/plugins/modules/notification_template.py +++ b/awx_collection/plugins/modules/notification_template.py @@ -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" diff --git a/awx_collection/plugins/modules/project.py b/awx_collection/plugins/modules/project.py index 2621e57ab2..ed0d475b14 100644 --- a/awx_collection/plugins/modules/project.py +++ b/awx_collection/plugins/modules/project.py @@ -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" diff --git a/awx_collection/plugins/modules/project_update.py b/awx_collection/plugins/modules/project_update.py index d6d712f8f4..64d81ffc54 100644 --- a/awx_collection/plugins/modules/project_update.py +++ b/awx_collection/plugins/modules/project_update.py @@ -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 diff --git a/awx_collection/plugins/modules/schedule.py b/awx_collection/plugins/modules/schedule.py index 4a6583629d..b2dba8a8df 100644 --- a/awx_collection/plugins/modules/schedule.py +++ b/awx_collection/plugins/modules/schedule.py @@ -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: diff --git a/awx_collection/plugins/modules/user.py b/awx_collection/plugins/modules/user.py index be1bb61de9..8988e80047 100644 --- a/awx_collection/plugins/modules/user.py +++ b/awx_collection/plugins/modules/user.py @@ -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" diff --git a/awx_collection/plugins/modules/workflow_approval.py b/awx_collection/plugins/modules/workflow_approval.py index dd81eeb93c..e938549180 100644 --- a/awx_collection/plugins/modules/workflow_approval.py +++ b/awx_collection/plugins/modules/workflow_approval.py @@ -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 diff --git a/awx_collection/plugins/modules/workflow_launch.py b/awx_collection/plugins/modules/workflow_launch.py index ae2114b87c..76a724633f 100644 --- a/awx_collection/plugins/modules/workflow_launch.py +++ b/awx_collection/plugins/modules/workflow_launch.py @@ -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 diff --git a/awx_collection/plugins/modules/workflow_node_wait.py b/awx_collection/plugins/modules/workflow_node_wait.py index e82602904e..e133cb6cf9 100644 --- a/awx_collection/plugins/modules/workflow_node_wait.py +++ b/awx_collection/plugins/modules/workflow_node_wait.py @@ -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 |