Re: [ansible-project] Ansible service module

2017-11-14 Thread Harish Chander Dalal
As of now using only that, thanks for approval On Mon, Nov 13, 2017 at 6:28 PM, Dick Davies wrote: > Look at the wait_for module, it should be able to help you if you need > to, uh, wait for a specific state. > > On 13 November 2017 at 07:27, Harish Singh <08harishsi...@gmail.com> > wrote: > > H

Re: [ansible-project] Ansible service module

2017-11-13 Thread Dick Davies
Look at the wait_for module, it should be able to help you if you need to, uh, wait for a specific state. On 13 November 2017 at 07:27, Harish Singh <08harishsi...@gmail.com> wrote: > Hey !! > > If I am working with ansible service module, if in case my tomcat take time > more then min. Or 2 min.

[ansible-project] Ansible service module

2017-11-12 Thread Harish Singh
Hey !! If I am working with ansible service module, if in case my tomcat take time more then min. Or 2 min. How can I verify if my service stop only then next step will run. ?? Or service module can take care this will hold till services not stopped. ?? Live env took time so not able to test

[ansible-project] Ansible Service Module and sudo

2016-01-29 Thread Isa Baboo
Hi All I am trying to user a systemd service with ansible. Basically I am trying to restart jboss with a jboss user. I have allowed this user to stop/start/ using sudo without a password in the sudoers file and it works sudo /usr/bin/systemctl stop jboss . When I try with ansible I get Acce