provisioners/ansible: use Docker proxy when needed

Close #4071

Credits and best thanks to @jabclab
Merge pull request #4906 from mitchellh/gc-4071-docker-ansible

provisioners/ansible: use Docker proxy when needed