Ansible fails at "ensure fail2ban is configured"

Instead of being a problem with fail2ban per se, it’s probably a temporary connection problem with the ip_whitelist lookup. I’d suggest trying again now that some time has passed.

Otherwise, of the various threads on the topic, here are a couple that should help:

https://discourse.roots.io/t/vagrant-up-fails-at-ferm/5551/2