ceph-ansible/roles
Sébastien Han a52ed43093 mon: fix osd_pool_default_crush_rule persistence and effectiveness
Running the last portion (insert new default and add new default crush
tasks) of crush_rules.yml only on the last monitor is
wrong since ceph CLI calls usually end up on the master having the
quorum, which is by default the one with the lower IP.
So if we run the  command and end up on another mon the creation will
happen on the default crush rule because the particular mon hasn't been
updated.
To fix this we remove the |last on the include and use run_once: true on
 certain tasks, then we let the final two tasks run on all the monitors.

Signed-off-by: Sébastien Han <seb@redhat.com>
2018-03-06 15:24:31 +00:00
..
ceph-agent ceph-agent: Add support for the openSUSE Leap distributions 2017-11-14 10:51:23 +00:00
ceph-client client: use `ceph_uid` fact to set uid/gid on admin key 2018-02-26 15:52:05 +01:00
ceph-common common: run updatedb task on debian systems only 2018-03-02 20:59:10 +00:00
ceph-common-coreos syntax: change local_action syntax 2018-01-31 10:45:34 +01:00
ceph-config osd: remove old crush_location implementation 2018-03-06 15:24:31 +00:00
ceph-defaults osd: remove old crush_location implementation 2018-03-06 15:24:31 +00:00
ceph-docker-common Remove redundant task to check if atomic 2018-02-19 10:10:46 +01:00
ceph-fetch-keys ceph-fetch-keys: Add support for openSUSE Leap distributions 2017-11-14 10:51:23 +00:00
ceph-iscsi-gw syntax: change local_action syntax 2018-01-31 10:45:34 +01:00
ceph-mds mds: fix ansible_service_mgr typo 2018-02-26 13:05:14 +01:00
ceph-mgr syntax: change local_action syntax 2018-01-31 10:45:34 +01:00
ceph-mon mon: fix osd_pool_default_crush_rule persistence and effectiveness 2018-03-06 15:24:31 +00:00
ceph-nfs Revert "[TEST] Test setting up correct systemd file for nfs-ganesha" 2018-02-26 10:23:42 +01:00
ceph-osd osd: remove old crush_location implementation 2018-03-06 15:24:31 +00:00
ceph-rbd-mirror syntax: change local_action syntax 2018-01-31 10:45:34 +01:00
ceph-restapi syntax: change local_action syntax 2018-01-31 10:45:34 +01:00
ceph-rgw rgw: add cluster name option to the handler 2018-03-02 20:59:10 +00:00
ceph.ceph-common rollback previous change for ceph-common change 2016-03-02 18:44:36 +01:00
ceph.ceph-docker-common ceph-docker-common: add symlink to ceph.ceph-docker-common 2017-01-16 10:42:42 -06:00