Example Ansible script for Jboss-cli commands
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)