Update documentation for modules, add deprecation warning for role, send and receive modules

Update variables in tower_inventory to be in dict format
This commit is contained in:
beeankha
2020-02-24 15:23:49 -05:00
parent 787c4af222
commit 1c4042340c
20 changed files with 62 additions and 26 deletions

View File

@@ -39,8 +39,9 @@ options:
type: str
variables:
description:
- Inventory variables. Use C(@) to get from file.
type: str
- Inventory variables.
required: False
type: dict
kind:
description:
- The kind field. Cannot be modified after created.
@@ -64,6 +65,7 @@ options:
- The Tower OAuth token to use.
required: False
type: str
version_added: "3.7"
extends_documentation_fragment: awx.awx.auth
'''
@@ -86,9 +88,9 @@ def main():
# Any additional arguments that are not fields of the item can be added here
argument_spec = dict(
name=dict(required=True),
description=dict(default=''),
description=dict(required=False),
organization=dict(required=True),
variables=dict(default=''),
variables=dict(type='dict', required=False),
kind=dict(choices=['', 'smart'], default=''),
host_filter=dict(),
state=dict(choices=['present', 'absent'], default='present'),