Capgemini / Apollo

:rocket: An open-source platform for cloud native applications based on Apache Mesos and Docker.
http://capgemini.github.io/devops/apollo/
MIT License
723 stars 105 forks source link

Fixes ansible error accessing "ansible_default_ipv4" on Mac OS X #685

Closed joe1chen closed 8 years ago

joe1chen commented 8 years ago

The underlying bug is a problem with ansible (https://github.com/ansible/ansible/issues/9260). This bug is responsible for https://github.com/Capgemini/Apollo/issues/679.

The workaround for this issue is to simply add:

- hosts: all
  tasks: []

to site.xml before we try to access ansible_default_ipv4.

Without this workaround, running the bootstrap script on OS X systems seems to consistently fail.

joe1chen commented 8 years ago

I'm still getting the ansible_default_ipv4 errors occasionally with this fix, so for now I'm going to close this PR.