Fix missing alias in argument_spec and add tests for it

This commit is contained in:
Anton Nesterov
2020-10-20 21:15:28 +02:00
parent 2e237661f8
commit 130f6300c5
2 changed files with 16 additions and 1 deletions

View File

@@ -90,7 +90,7 @@ from ..module_utils.tower_api import TowerAPIModule
def main():
# Any additional arguments that are not fields of the item can be added here
argument_spec = dict(
name=dict(required=True),
name=dict(required=True, aliases=['inventory_source']),
inventory=dict(required=True),
organization=dict(),
wait=dict(default=False, type='bool'),