]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
cephadm-adopt: delegate task for orch apply
authorDimitri Savineau <dsavinea@redhat.com>
Wed, 15 Jul 2020 22:25:57 +0000 (18:25 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Thu, 16 Jul 2020 14:50:53 +0000 (10:50 -0400)
commita22855319b37a6f783c472c6d846e63006bd77fe
tree0d82b7fe7b0aeb9ae91c5347a91bd0b144596183
parent585b3e476c483d214695dd8de3f535c4845d7f09
cephadm-adopt: delegate task for orch apply

This is a partial revert of b38019e because we don't want to execute
the whole play on the monitor otherwise if we have some empty group
like rgws or mdss then the orchestrator commands will still be
executed.
Instead we should keep the real target group name at play level and
delegate the orchestator commands to the monitor. The whole play
will be skipped is the group is empty.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 95964949119f029849337d22189d1f99dad67535)
infrastructure-playbooks/cephadm-adopt.yml