Ideally, inventory would be refreshes after each reboot connect_timeout to ensure the connection update will be taken into use.
perjantai 29. tammikuuta 2021 klo 10.54.30 UTC+2 Paavo Leinonen kirjoitti: > Hi, > > I have 2 VPN servers, and remote-random in VPN config, so clients connect > to server1 or server2. > > I need clients to reboot after major upgrades (new kernel), and the > problem is that if the client connects to different VPN server, reboot > module fails because it cannot connect any more to the client (to > run test_command to see if the client rebooted successfully) using the > old/wrong VPN server. > > I found meta: refresh_inventory, but cannot figure out now can I refresh > inventory in the middle of running the reboot module. > > Help appreciated. > > -Paavo > -- 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/6e5af4c3-0a18-44f2-8112-69a8c2a0f704n%40googlegroups.com.
