Add example for ad_hoc_command module (#14106)

This commit is contained in:
Akira Yokochi
2023-06-24 00:59:16 +09:00
committed by GitHub
parent 755e55ec70
commit 6b381aa79e

View File

@@ -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 = '''