nlesc-sherlock / emma

Ansible playbook to create a cluster with GlusterFS, Docker, Spark and JupyterHub services
Apache License 2.0
3 stars 4 forks source link

Removing loopback on /etc/hosts of each guest host goes too far. #15

Closed romulogoncalves closed 7 years ago

romulogoncalves commented 7 years ago

Inline with: https://github.com/nlesc-sherlock/emma/issues/14

The loopback clean done by roles/common/tasks/main.yml removes the external IP entry for the local host. The reg-exp should only remove the loopback for 127.0.0.1.

romulogoncalves commented 7 years ago

At the moment the loopback removal does not happen. https://github.com/nlesc-sherlock/emma/commit/8fd773fa53893eeabeaa84d25fcecb2f121eaa3f

Waiting for the regexp to be improved.

sverhoeven commented 7 years ago

And remove hostname for 127.0.1.1

romulogoncalves commented 7 years ago

Solved by https://github.com/nlesc-sherlock/emma/commit/750aa7018d86acb6fbcf27b2b1db37e7501cb766