mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 23:17:32 -02:30
Expanding examples
This commit is contained in:
@@ -35,11 +35,16 @@ extends_documentation_fragment: awx.awx.auth
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: Import all tower assets
|
||||
- name: Export all assets
|
||||
tower_export:
|
||||
all: True
|
||||
registeR: export_output
|
||||
|
||||
- name: Import all tower assets from our export
|
||||
tower_import:
|
||||
assets: "{{ export_output.assets }}"
|
||||
|
||||
- name: Import orgs from a json file
|
||||
- name: Load data from a json file created by a command like awx export --organization Default
|
||||
tower_import:
|
||||
assets: "{{ lookup('file', 'org.json') | from_json() }}"
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user