]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
client: keyrings aren't created when single client node
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:05:47 +0000 (15:05 +0200)
commit090ecff94e341a674556c0f4f578caa73330a0f0
tree8615cf76cc6e4e24138f2e031e0e9ecc9db134b7
parent315ab08b1604e655eee4b493eb2c1171a67df506
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>
roles/ceph-client/tasks/create_users_keys.yml