mirror of
https://github.com/ansible/awx.git
synced 2026-05-16 22:07:36 -02:30
Add example for ad_hoc_command module (#14106)
This commit is contained in:
@@ -95,6 +95,13 @@ extends_documentation_fragment: awx.awx.auth
|
|||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
- name: Launch an Ad Hoc Command waiting for it to finish
|
||||||
|
ad_hoc_command:
|
||||||
|
inventory: Demo Inventory
|
||||||
|
credential: Demo Credential
|
||||||
|
module_name: command
|
||||||
|
module_args: echo I <3 Ansible
|
||||||
|
wait: true
|
||||||
'''
|
'''
|
||||||
|
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
|
|||||||
Reference in New Issue
Block a user