]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
client: keyrings aren't created when single client node v3.1.0rc8
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 8 Jun 2018 06:49:37 +0000 (08:49 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 8 Jun 2018 13:34:34 +0000 (15:34 +0200)
commit18e794217d30b1b14278e4f42660ebfa4e6b7f29
tree3b3277f28cfa658397102eb3cb245866db40a4c8
parentfd10fcedff9565d3c5f414ad685d586f224b338d
client: keyrings aren't created when single client node

combining `run_once: true` with `inventory_hostname ==
groups.get(client_group_name) | first` might cause bug when the only
node being run is not the first in the group.

In a deployment with a single client node it might cause issue because
sometimes keyring won't be created since the task could be definitively
skipped.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1588093
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 090ecff94e341a674556c0f4f578caa73330a0f0)
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-client/tasks/create_users_keys.yml