Add example for ad_hoc_command module (#14106)

This commit is contained in:
Akira Yokochi
2023-06-23 11:59:16 -04:00
committed by GitHub
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 = '''