mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03:30
Add example for ad_hoc_command module (#14106)
This commit is contained in:
parent
755e55ec70
commit
6b381aa79e
@ -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 = '''
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user