On 06. nov. 2017 06:52, coach.r...@gmail.com wrote:
> After rebooting the host and need to check if that process is back online.
> Is there a way in ansible (or "wait_for module" ) to check the service or
> process to be running after a reboot. could you please share your insight
> about it.Thank y
Thanks Kai , looking for something like the server is rebooted and looks
for the processes or service and then move to the next server reboots and
check the service and goes to the next hosts and does the same.
On Mon, Nov 6, 2017 at 8:51 PM, Kai Stian Olstad <
ansible-project+l...@olstad.com> wr
On 07. nov. 2017 18:22, coach rhca wrote:
> Thanks Kai , looking for something like the server is rebooted and looks
> for the processes or service and then move to the next server reboots and
> check the service and goes to the next hosts and does the same.
You can do something like this.
- s
Thanks Kai for that insight , i have taken out the port=22 and include the
timeout=600 option in wait_for module in order to check the services by
login to server. Also can we set different timeout values for different
host in wait_for module.Can you please throw some light as i am created a
play
On 08.11.2017 07:20, coach rhca wrote:
Thanks Kai for that insight , i have taken out the port=22 and include
the
timeout=600 option in wait_for module in order to check the services
by
login to server. Also can we set different timeout values for different
host in wait_for module.
You can
Thanks Kai for sorting this out. I have rectified the indentations & other
corrections and its working now ...will add more logic to get the desired
output.Appreciate your prompt help Kai..
On Wed, Nov 8, 2017 at 12:22 PM, Kai Stian Olstad <
ansible-project+l...@olstad.com> wrote:
> On 08.11.2017
I was wondering how does wait_for figures out if a port is listening on
remote machine. Does it use port scanners like nmap or netcat or simply
makes a telnet connection on that port?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsub
Hi,
I am writing a script to upgrade IOS in cisco router. After i give reload
command, the next task to be executed is the below one.
This part of the playbook basically waits for the device to be reachable
again on port 22. I have also added a delay of 600 seconds before it starts
trying. The