Example Ansible script for Jboss-cli commands

Latest response

I want to know how to run following command with an ansible playbook and need to get the output as well.

/subsystem=datasources/data-source=ExampleDS/statistics=pool :read-resource(recursive=true, include-runtime=true)

Responses