Skip to content

Commit

Permalink
Remove options from each role's argspec so extra unused values can be…
Browse files Browse the repository at this point in the history
… provided
  • Loading branch information
Tompage1994 committed Mar 7, 2023
1 parent 433903d commit 0732662
Show file tree
Hide file tree
Showing 30 changed files with 2,045 additions and 2,045 deletions.
132 changes: 66 additions & 66 deletions roles/ad_hoc_command/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,72 +7,72 @@ argument_specs:
description: Data structure describing your ad hoc commands to run
type: list
elements: dict
options:
job_type:
default: run
required: false
type: str
description: Job_type to use for the ad hoc command. Either run or check.
inventory:
required: true
type: str
description: Inventory to use for the ad hoc command.
limit:
required: false
type: str
description: Limit to use for the ad hoc command.
credential:
required: true
type: str
description: Credential to use for ad hoc command.
execution_environment:
required: false
type: str
description: Execution Environment to use for ad hoc command.
module_name:
required: true
type: str
description: The Ansible module to execute.
module_args:
required: false
type: str
description: The arguments to pass to the module.
forks:
default: 0
required: false
type: int
description: The number of forks to use for this ad hoc execution.
verbosity:
default: 0
required: false
type: int
description: Verbosity level for this ad hoc command run
extra_vars:
required: false
type: dict
description: Extra variables to use for the ad hoc command.
become_enabled:
required: false
type: bool
description: If the become flag should be set.
diff_mode:
required: false
type: bool
description: Show the changes made by Ansible tasks where supported
wait:
default: false
required: false
type: bool
description: Wait for the command to complete.
interval:
default: 2
required: false
type: int
description: The interval to request an update from controller.
timeout:
required: false
type: int
description: If waiting for the command to complete this will abort after this amount of seconds.
# options:
# job_type:
# default: run
# required: false
# type: str
# description: Job_type to use for the ad hoc command. Either run or check.
# inventory:
# required: true
# type: str
# description: Inventory to use for the ad hoc command.
# limit:
# required: false
# type: str
# description: Limit to use for the ad hoc command.
# credential:
# required: true
# type: str
# description: Credential to use for ad hoc command.
# execution_environment:
# required: false
# type: str
# description: Execution Environment to use for ad hoc command.
# module_name:
# required: true
# type: str
# description: The Ansible module to execute.
# module_args:
# required: false
# type: str
# description: The arguments to pass to the module.
# forks:
# default: 0
# required: false
# type: int
# description: The number of forks to use for this ad hoc execution.
# verbosity:
# default: 0
# required: false
# type: int
# description: Verbosity level for this ad hoc command run
# extra_vars:
# required: false
# type: dict
# description: Extra variables to use for the ad hoc command.
# become_enabled:
# required: false
# type: bool
# description: If the become flag should be set.
# diff_mode:
# required: false
# type: bool
# description: Show the changes made by Ansible tasks where supported
# wait:
# default: false
# required: false
# type: bool
# description: Wait for the command to complete.
# interval:
# default: 2
# required: false
# type: int
# description: The interval to request an update from controller.
# timeout:
# required: false
# type: int
# description: If waiting for the command to complete this will abort after this amount of seconds.

# No_log variables
controller_configuration_ad_hoc_command_secure_logging:
Expand Down
40 changes: 20 additions & 20 deletions roles/ad_hoc_command_cancel/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,26 @@ argument_specs:
description: Data structure describing your ad hoc jobs to cancel
type: list
elements: dict
options:
id:
required: true
type: int
description: ID of the command to cancel
fail_if_not_running:
default: false
required: false
type: bool
description: Fail loudly if the command can not be canceled.
interval:
default: 0
required: false
type: int
description: The interval in seconds, to request an update from.
timeout:
default: 0
required: false
type: int
description: Maximum time in seconds to wait for a job to finish, 0 means wait until it is finished regardless.
# options:
# id:
# required: true
# type: int
# description: ID of the command to cancel
# fail_if_not_running:
# default: false
# required: false
# type: bool
# description: Fail loudly if the command can not be canceled.
# interval:
# default: 0
# required: false
# type: int
# description: The interval in seconds, to request an update from.
# timeout:
# default: 0
# required: false
# type: int
# description: Maximum time in seconds to wait for a job to finish, 0 means wait until it is finished regardless.

# No_log variables
controller_configuration_ad_hoc_command_cancel_secure_logging:
Expand Down
74 changes: 37 additions & 37 deletions roles/applications/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,43 +7,43 @@ argument_specs:
description: Data structure describing your applications
type: list
elements: dict
options:
name:
required: true
type: str
description: Name of application
organization:
required: true
type: str
description: Name of the organization for the application
description:
required: false
type: str
description: Description to use for the application.
authorization_grant_type:
default: password
required: false
type: str
description: Grant type for tokens in this application, "password" or "authorization-code"
client_type:
default: public
required: false
type: str
description: Application client type, "confidential" or "public"
redirect_uris:
required: false
type: str
description: Allowed urls list, space separated. Required with "authorization-code" grant type
skip_authorization:
default: false
required: false
type: bool
description: Set True to skip authorization step for completely trusted applications.
state:
default: "{{ controller_state | default('present') }}"
required: false
type: str
description: Desired state of the application.
# options:
# name:
# required: true
# type: str
# description: Name of application
# organization:
# required: true
# type: str
# description: Name of the organization for the application
# description:
# required: false
# type: str
# description: Description to use for the application.
# authorization_grant_type:
# default: password
# required: false
# type: str
# description: Grant type for tokens in this application, "password" or "authorization-code"
# client_type:
# default: public
# required: false
# type: str
# description: Application client type, "confidential" or "public"
# redirect_uris:
# required: false
# type: str
# description: Allowed urls list, space separated. Required with "authorization-code" grant type
# skip_authorization:
# default: false
# required: false
# type: bool
# description: Set True to skip authorization step for completely trusted applications.
# state:
# default: "{{ controller_state | default('present') }}"
# required: false
# type: str
# description: Desired state of the application.

# Async variables
controller_configuration_applications_async_retries:
Expand Down
52 changes: 26 additions & 26 deletions roles/credential_input_sources/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,32 @@ argument_specs:
description: Data structure describing your credential_input_sources
type: list
elements: dict
options:
target_credential:
required: true
type: str
description: Name of credential to have the input source applied
input_field_name:
required: true
type: str
description: Name of field which will be written by the input source
source_credential:
required: false
type: str
description: Name of the source credential which points to a credential source
metadata:
required: false
type: dict
description: The metadata applied to the source.
description:
required: false
type: str
description: Description to use for the credential input source.
state:
default: "{{ controller_state | default('present') }}"
required: false
type: str
description: Desired state of the resource.
# options:
# target_credential:
# required: true
# type: str
# description: Name of credential to have the input source applied
# input_field_name:
# required: true
# type: str
# description: Name of field which will be written by the input source
# source_credential:
# required: false
# type: str
# description: Name of the source credential which points to a credential source
# metadata:
# required: false
# type: dict
# description: The metadata applied to the source.
# description:
# required: false
# type: str
# description: Description to use for the credential input source.
# state:
# default: "{{ controller_state | default('present') }}"
# required: false
# type: str
# description: Desired state of the resource.

# Async variables
controller_configuration_credential_input_sources_async_retries:
Expand Down
Loading

0 comments on commit 0732662

Please sign in to comment.