mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 05:01:19 -03:30
Manually document tower host default
This commit is contained in:
parent
b90a296d41
commit
45df5ba9c4
@ -16,7 +16,7 @@ options:
|
||||
description:
|
||||
- URL to your Tower or AWX instance.
|
||||
- If value not set, will try environment variable C(TOWER_HOST) and then config files
|
||||
default: '127.0.0.1'
|
||||
- If value not specified by any means, the value of C(127.0.0.1) will be used
|
||||
type: str
|
||||
tower_username:
|
||||
description:
|
||||
|
||||
@ -124,7 +124,7 @@ def tower_check_mode(module):
|
||||
class TowerModule(AnsibleModule):
|
||||
def __init__(self, argument_spec, **kwargs):
|
||||
args = dict(
|
||||
tower_host=dict(default='127.0.0.1'),
|
||||
tower_host=dict(),
|
||||
tower_username=dict(),
|
||||
tower_password=dict(no_log=True),
|
||||
validate_certs=dict(type='bool', aliases=['tower_verify_ssl']),
|
||||
|
||||
@ -47,7 +47,7 @@ class TowerModule(AnsibleModule):
|
||||
|
||||
def __init__(self, argument_spec, **kwargs):
|
||||
args = dict(
|
||||
tower_host=dict(required=False, default='127.0.0.1', fallback=(env_fallback, ['TOWER_HOST'])),
|
||||
tower_host=dict(required=False, fallback=(env_fallback, ['TOWER_HOST'])),
|
||||
tower_username=dict(required=False, fallback=(env_fallback, ['TOWER_USERNAME'])),
|
||||
tower_password=dict(no_log=True, required=False, fallback=(env_fallback, ['TOWER_PASSWORD'])),
|
||||
validate_certs=dict(type='bool', aliases=['tower_verify_ssl'], required=False, fallback=(env_fallback, ['TOWER_VERIFY_SSL'])),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user