I've seen the same an Windows updates using ansible (regardless of packer).

Do a register on the ansible task, then use retry, delay, and until. The until 
should look for something in the register like a return value 
found_update_count = 0. just typing on my phone so you probably want to ignore 
errors and debug the register to find a value that suits you. 

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" 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/packer-tool/57ca39c4-c179-47d0-89ef-800d047bb342%40googlegroups.com.

Reply via email to