Have you tried below command in playbook ?
tasks:
- shell: ps aux | grep node/bin/node
register: ps_cmd
- name: Show captured processes
debug:
var: ps_cmd.stdout
:
On Thu, Mar 3, 2022 at 11:47 AM dulhaver via Ansible Project
wrote:
> showing your TASK may be
showing your TASK may be helpful in order to get some feedback
On 03.03.22 04:36, Sanjay Khatri wrote:
Start command nohup ./bin/kibana > /dev/null 2>&1 &
After execute this command have to check kibana running mode
ps aux | grep node/bin/node
If i am running manually this command it is wo
Start command nohup ./bin/kibana > /dev/null 2>&1 &
After execute this command have to check kibana running mode
ps aux | grep node/bin/node
If i am running manually this command it is working fine but running from
ansible playbook it is not working. Please help me.
Thanks in Advance...!!!