Comply with updated Ansible sanity test rules

This commit is contained in:
AlanCoding
2020-06-03 08:44:11 -04:00
parent ec2c121762
commit 86f1ba984a
32 changed files with 16 additions and 93 deletions

View File

@@ -17,11 +17,10 @@ DOCUMENTATION = '''
---
module: tower_receive
deprecated:
removed_in: "3.7"
removed_in: "14.0.0"
why: Deprecated in favor of upcoming C(_export) module.
alternative: Once published, use M(tower_export) instead.
author: "John Westcott IV (@john-westcott-iv)"
version_added: "2.8"
short_description: Receive assets from Ansible Tower.
description:
- Receive assets from Ansible Tower. See
@@ -166,7 +165,7 @@ def main():
module = TowerModule(argument_spec=argument_spec, supports_check_mode=False)
module.deprecate(msg="This module is deprecated and will be replaced by the AWX CLI export command.", version="3.7")
module.deprecate(msg="This module is deprecated and will be replaced by the AWX CLI export command.", version="awx.awx:14.0.0")
if not HAS_TOWER_CLI:
module.fail_json(msg='ansible-tower-cli required for this module')