]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-mon: Fix bug #1242 1291/head
authorGuits <gabrioux@redhat.com>
Wed, 8 Feb 2017 09:45:09 +0000 (10:45 +0100)
committerGuits <gabrioux@redhat.com>
Wed, 8 Feb 2017 09:46:46 +0000 (10:46 +0100)
commitdf162a61b198aa629bfdb6b718d783a357b70665
tree9e90eb022fcf0a78bb2e2f4cbd601b654ebb84a3
parenta52228fa43448211f1a8a1174a6b9186efc82b12
ceph-mon: Fix bug #1242

We shouldn't test directly the value of
`ceph_conf_overrides.global.osd_pool_default_pg_num` because this can
cause the playbook to fail if the key `global` is not present in
`ceph_conf_overrides`. Therefore we have to use the facts that have been
defined earlier.

Fix: #1242

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-mon/tasks/ceph_keys.yml