]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commit
ansible: always add 'ceph-builders' to /etc/hosts 490/head
authorAndrew Schoen <aschoen@redhat.com>
Tue, 27 Sep 2016 21:13:38 +0000 (16:13 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 27 Sep 2016 21:16:49 +0000 (16:16 -0500)
commitf607e3e32159582e53f309b901f8e80f2e10bf62
treea5f42a4cb6bb287ce01c302b2b855687a0752f10
parent52434110e3cb3aeca60aa6e842c525db4fa25e46
ansible: always add 'ceph-builders' to /etc/hosts

The nodes we spin up in OVH are using an image that sets the hostname
to 'ceph-builders'. Also, the hostname we give it is too long to use and
ansible silenty fails to set it.

This change ensures that nodes can use sudo correctly and avoids errors
like: 'sudo: unable to resolve host ceph-builders'.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ansible/examples/slave.yml