diff options
author | Akira Yokochi <akira6592@gmail.com> | 2023-06-23 17:59:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-23 17:59:16 +0200 |
commit | 6b381aa79e14613b3595b05af725c1a4cc4b6e0d (patch) | |
tree | 4cba3c56fe83d7bc40c346704ad12a171904c9b3 | |
parent | Remove reference to unmaintained runner image (#14143) (diff) | |
download | awx-6b381aa79e14613b3595b05af725c1a4cc4b6e0d.tar.xz awx-6b381aa79e14613b3595b05af725c1a4cc4b6e0d.zip |
Add example for ad_hoc_command module (#14106)22.4.0
-rw-r--r-- | awx_collection/plugins/modules/ad_hoc_command.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/awx_collection/plugins/modules/ad_hoc_command.py b/awx_collection/plugins/modules/ad_hoc_command.py index 3cdcd5aa47..7132b7f030 100644 --- a/awx_collection/plugins/modules/ad_hoc_command.py +++ b/awx_collection/plugins/modules/ad_hoc_command.py @@ -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 = ''' |