This just sounds like a really bad idea! Having plays hanging around 
waiting for 20 days doesn't sound sensible.
Why not just fail controllably after a number of retries perhaps?

I use something like this to do this:
...tasks...
register: output
until: output is not failed
retries: 3

On Monday, 6 April 2020 06:09:22 UTC+1, Work-Hard wrote:
>
> Hello,
>
> ISSUE -  Whenever a user in a company is not connected to the vpn; ansible 
> fails the connection (as unreachable). Is there a way we can delay the 
> connection for 20 days and have it keep trying every hour, instead of 
> showing "unreachable"?
>
> REASON-  I need the output to look clean when I save the file in order to 
> validate within the company.
>
> I appreciate your help!
>
> Thanks
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/b4d89d60-3ce0-4477-90b8-912fdee0d1ad%40googlegroups.com.

Reply via email to