#AnsibleAutomations made simple, this is session is about Finding Java PID using #shellmodule used to execute the #shell command and filter with #grep command and #awk After using register variable in the task, To print the value from the variable we have #debug module used.
Multiple use case can use this Ansible automation idea
Ansible Beginners tutorial - gives you some idea on how to use Linux commands used inside a Ansible playbook. Same idea can be used for #weblogic server process, #websphere process, #jboss process, #jenkins process etc.
#devops engineers automation tool explained in detail here.