Moving tower_oauthtoken into a doc fragement

This commit is contained in:
John Westcott IV
2020-05-21 13:44:29 -04:00
parent 7939f2d320
commit c61e875bf8
28 changed files with 61 additions and 146 deletions

View File

@@ -184,13 +184,6 @@ options:
choices: ["present", "absent"]
default: "present"
type: str
tower_oauthtoken:
description:
- The Tower OAuth token to use.
- If value not set, will try environment variable C(TOWER_OAUTH_TOKEN) and then config files
required: False
type: str
version_added: "3.7"
extends_documentation_fragment: awx.awx.auth

View File

@@ -59,12 +59,6 @@ options:
default: "present"
choices: ["present", "absent"]
type: str
tower_oauthtoken:
description:
- The Tower OAuth token to use.
- If value not set, will try environment variable C(TOWER_OAUTH_TOKEN) and then config files
type: str
version_added: "3.7"
extends_documentation_fragment: awx.awx.auth
'''

View File

@@ -64,12 +64,6 @@ options:
- A new name for this group (for renaming)
type: str
version_added: "3.7"
tower_oauthtoken:
description:
- The Tower OAuth token to use.
- If value not set, will try environment variable C(TOWER_OAUTH_TOKEN) and then config files
type: str
version_added: "3.7"
extends_documentation_fragment: awx.awx.auth
'''

View File

@@ -57,12 +57,6 @@ options:
choices: ["present", "absent"]
default: "present"
type: str
tower_oauthtoken:
description:
- The Tower OAuth token to use.
- If value not set, will try environment variable C(TOWER_OAUTH_TOKEN) and then config files
type: str
version_added: "3.7"
extends_documentation_fragment: awx.awx.auth
'''

View File

@@ -59,12 +59,6 @@ options:
default: "present"
choices: ["present", "absent"]
type: str
tower_oauthtoken:
description:
- The Tower OAuth token to use.
- If value not set, will try environment variable C(TOWER_OAUTH_TOKEN) and then config files
type: str
version_added: "3.7"
extends_documentation_fragment: awx.awx.auth
'''

View File

@@ -119,12 +119,6 @@ options:
default: "present"
choices: ["present", "absent"]
type: str
tower_oauthtoken:
description:
- The Tower OAuth token to use.
- If value not set, will try environment variable C(TOWER_OAUTH_TOKEN) and then config files
type: str
version_added: "3.7"
notification_templates_started:
description:
- list of notifications to send on start

View File

@@ -33,12 +33,6 @@ options:
- Fail loudly if the I(job_id) can not be canceled
default: False
type: bool
tower_oauthtoken:
description:
- The Tower OAuth token to use.
- If value not set, will try environment variable C(TOWER_OAUTH_TOKEN) and then config files
type: str
version_added: "3.7"
extends_documentation_fragment: awx.awx.auth
'''

View File

@@ -87,12 +87,6 @@ options:
- Passwords for credentials which are set to prompt on launch
type: dict
version_added: "3.7"
tower_oauthtoken:
description:
- The Tower OAuth token to use.
- If value not set, will try environment variable C(TOWER_OAUTH_TOKEN) and then config files
type: str
version_added: "3.7"
extends_documentation_fragment: awx.awx.auth
'''

View File

@@ -41,12 +41,6 @@ options:
description:
- Query used to further filter the list of jobs. C({"foo":"bar"}) will be passed at C(?foo=bar)
type: dict
tower_oauthtoken:
description:
- The Tower OAuth token to use.
- If value not set, will try environment variable C(TOWER_OAUTH_TOKEN) and then config files
type: str
version_added: "3.7"
extends_documentation_fragment: awx.awx.auth
'''

View File

@@ -268,12 +268,6 @@ options:
default: "present"
choices: ["present", "absent"]
type: str
tower_oauthtoken:
description:
- The Tower OAuth token to use.
- If value not set, will try environment variable C(TOWER_OAUTH_TOKEN) and then config files
type: str
version_added: "3.7"
notification_templates_started:
description:
- list of notifications to send on start

View File

@@ -49,13 +49,6 @@ options:
description:
- Maximum time in seconds to wait for a job to finish.
type: int
tower_oauthtoken:
description:
- The Tower OAuth token to use.
- If value not set, will try environment variable C(TOWER_OAUTH_TOKEN) and then config files
required: False
type: str
version_added: "3.7"
extends_documentation_fragment: awx.awx.auth
'''

View File

@@ -45,12 +45,6 @@ options:
default: "present"
choices: ["present"]
type: str
tower_oauthtoken:
description:
- The Tower OAuth token to use.
- If value not set, will try environment variable C(TOWER_OAUTH_TOKEN) and then config files
type: str
version_added: "3.7"
extends_documentation_fragment: awx.awx.auth
'''

View File

@@ -34,12 +34,6 @@ options:
required: True
type: bool
version_added: "3.7"
tower_oauthtoken:
description:
- The Tower OAuth token to use.
- If value not set, will try environment variable C(TOWER_OAUTH_TOKEN) and then config files
type: str
version_added: "3.7"
extends_documentation_fragment: awx.awx.auth
'''

View File

@@ -210,12 +210,6 @@ options:
default: "present"
choices: ["present", "absent"]
type: str
tower_oauthtoken:
description:
- The Tower OAuth token to use.
- If value not set, will try environment variable C(TOWER_OAUTH_TOKEN) and then config files
version_added: "3.7"
type: str
extends_documentation_fragment: awx.awx.auth
'''

View File

@@ -50,12 +50,6 @@ options:
default: "present"
choices: ["present", "absent"]
type: str
tower_oauthtoken:
description:
- The Tower OAuth token to use.
- If value not set, will try environment variable C(TOWER_OAUTH_TOKEN) and then config files
type: str
version_added: "3.7"
notification_templates_started:
description:
- list of notifications to send on start

View File

@@ -121,12 +121,6 @@ options:
on the project may be successfully created
type: bool
default: True
tower_oauthtoken:
description:
- The Tower OAuth token to use.
- If value not set, will try environment variable C(TOWER_OAUTH_TOKEN) and then config files
type: str
version_added: "3.7"
notification_templates_started:
description:
- list of notifications to send on start

View File

@@ -105,7 +105,7 @@ requirements:
notes:
- Specifying a name of "all" for any asset type will export all items of that asset type.
extends_documentation_fragment: awx.awx.auth
extends_documentation_fragment: awx.awx.auth_legacy
'''
EXAMPLES = '''

View File

@@ -76,15 +76,6 @@ options:
default: "present"
choices: ["present", "absent"]
type: str
tower_oauthtoken:
description:
- The Tower OAuth token to use.
- If value not set, will try environment variable C(TOWER_OAUTH_TOKEN) and then config files
type: str
version_added: "3.7"
requirements:
- ansible-tower-cli >= 3.0.2
extends_documentation_fragment: awx.awx.auth
'''

View File

@@ -60,7 +60,7 @@ requirements:
- six.moves.StringIO
- sys
extends_documentation_fragment: awx.awx.auth
extends_documentation_fragment: awx.awx.auth_legacy
'''
EXAMPLES = '''

View File

@@ -38,12 +38,6 @@ options:
- A data structure to be sent into the settings endpoint
type: dict
version_added: "3.7"
tower_oauthtoken:
description:
- The Tower OAuth token to use.
- If value not set, will try environment variable C(TOWER_OAUTH_TOKEN) and then config files
type: str
version_added: "3.7"
requirements:
- pyyaml
extends_documentation_fragment: awx.awx.auth

View File

@@ -48,12 +48,6 @@ options:
choices: ["present", "absent"]
default: "present"
type: str
tower_oauthtoken:
description:
- The Tower OAuth token to use.
- If value not set, will try environment variable C(TOWER_OAUTH_TOKEN) and then config files
type: str
version_added: "3.7"
extends_documentation_fragment: awx.awx.auth
'''

View File

@@ -62,12 +62,6 @@ options:
choices: ["present", "absent"]
default: "present"
type: str
tower_oauthtoken:
description:
- The Tower OAuth token to use.
- If value not set, will try environment variable C(TOWER_OAUTH_TOKEN) and then config files
type: str
version_added: "3.7"
extends_documentation_fragment: awx.awx.auth
'''

View File

@@ -107,12 +107,6 @@ options:
- absent
default: "present"
type: str
tower_oauthtoken:
description:
- The Tower OAuth token to use.
- If value not set, will try environment variable C(TOWER_OAUTH_TOKEN) and then config files
type: str
version_added: "3.7"
notification_templates_started:
description:
- list of notifications to send on start

View File

@@ -135,12 +135,6 @@ options:
choices: ["present", "absent"]
default: "present"
type: str
tower_oauthtoken:
description:
- The Tower OAuth token to use.
- If value not set, will try environment variable C(TOWER_OAUTH_TOKEN) and then config files
type: str
version_added: "3.7"
extends_documentation_fragment: awx.awx.auth
'''

View File

@@ -68,12 +68,6 @@ options:
- If waiting for the workflow to complete this will abort after this
amount of seconds
type: int
tower_oauthtoken:
description:
- The Tower OAuth token to use.
required: False
type: str
version_added: "3.7"
extends_documentation_fragment: awx.awx.auth
'''

View File

@@ -92,7 +92,7 @@ options:
requirements:
- ansible-tower-cli >= 3.0.2
extends_documentation_fragment: awx.awx.auth
extends_documentation_fragment: awx.awx.auth_legacy
'''