mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 06:26:00 -03: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 = '''
|
||||
- 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 = '''
|
||||
|
||||
Reference in New Issue
Block a user