Hi Everyone, i need to start kibana service using ansible. This service 
can't be encoded in system services due to access issues. We are running 
kibana on a remote linux server. This is the shell command we are trying to 
use. But even after trying all the options (setsid, nohup, async poll, 
sourcing profile,..... ) and lot of googling, not able to achieve this. We 
are doing ssh from local host to remote host as XXXXXX user (not root). As 
soon as playbook ends, the running pid is killed. Can you please help me to 
achieve this somehow. I am able to execute the same command manually but 
not with ansible.

shell: setsid nohup sh /kibana-6.6.0/bin/kibana &

Below are my ansible version details: 
ansible [core 2.11.5]
python version = 3.8.8 (default, Apr 13 2021, 12:59:45) [Clang 10.0.0 ]
 jinja version = 2.11.3
 libyaml = True

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/cb625832-d5d5-499a-8922-4c0d685d0e35n%40googlegroups.com.

Reply via email to