ceph-ansible/roles/ceph-handler
Dimitri Savineau 8ec632c42c ceph-handler: don't restart all OSDs with limit
When using the ansible --limit option on one or few OSD nodes and if the
handler is triggered then we will restart the OSD service on all OSDs
nodes instead of the hosts limited by the limit value.
Even if the play is limited by the --limit value we are using all OSD
nodes from the OSD group.

  with_items: '{{ groups[osd_group_name] }}'

Instead we should iterate only on the nodes present in both OSD group and
limit list.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 0346871fb5)
2019-10-04 07:42:58 +02:00
..
handlers ceph-handler: don't restart all OSDs with limit 2019-10-04 07:42:58 +02:00
meta meta: set the right minimum ansible version required for galaxy 2018-12-11 09:59:25 +01:00
tasks Look for additional names when checking ceph-nfs container status 2019-09-09 16:48:50 -04:00
templates Look for additional names when checking ceph-nfs container status 2019-09-09 16:48:50 -04:00
LICENSE add ceph-handler role 2018-09-28 15:15:49 +00:00
README.md add ceph-handler role 2018-09-28 15:15:49 +00:00

README.md

Ansible role: ceph-handler

Documentation is available at http://docs.ceph.com/ceph-ansible/.