]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
testnodes: Set hostnames properly 163/head
authorZack Cerza <zack@redhat.com>
Tue, 3 Nov 2015 21:15:17 +0000 (14:15 -0700)
committerZack Cerza <zack@redhat.com>
Tue, 3 Nov 2015 21:15:17 +0000 (14:15 -0700)
commitc5189b10f8380e7555f8dbfa7a212bc1f3d2a8ea
tree2b03d827e515bcf70848f5a55ed37c98bf268932
parent853d140265d57d83bb68e9191b7254eb8490bcb6
testnodes: Set hostnames properly

Instead of using convoluted logic to determine whether or not to set the
hostname, just do it. The hostname module is nice and idempotent.

This was inspired by http://tracker.ceph.com/issues/13679

Signed-off-by: Zack Cerza <zack@redhat.com>
roles/testnode/tasks/set_hostname.yml