Adding integration tests and example in import

This commit is contained in:
John Westcott IV
2020-08-03 14:14:40 -04:00
parent 40f6741474
commit 08e5dd87e6
3 changed files with 189 additions and 0 deletions

View File

@@ -38,6 +38,10 @@ EXAMPLES = '''
- name: Import all tower assets
tower_import:
assets: "{{ export_output.assets }}"
- name: Import orgs from a json file
tower_import:
assets: "{{ lookup('file', 'org.json') | from_json() }}"
'''
from ..module_utils.tower_awxkit import TowerAWXKitModule