From 58758bca289c20fdd6ec1f5fbfc63dca58afb2d8 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Fri, 4 Aug 2023 09:54:22 +0200 Subject: [PATCH] cephadm-adopt: fix an issue in mgr adoption play this drops variables in 'hosts' field of mgr adoption play. Signed-off-by: Guillaume Abrioux --- infrastructure-playbooks/cephadm-adopt.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure-playbooks/cephadm-adopt.yml b/infrastructure-playbooks/cephadm-adopt.yml index 8c5d3de89..755800d0d 100644 --- a/infrastructure-playbooks/cephadm-adopt.yml +++ b/infrastructure-playbooks/cephadm-adopt.yml @@ -594,7 +594,7 @@ CEPHADM_IMAGE: '{{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}' - name: adopt ceph mgr daemons - hosts: "{{ groups[mgr_group_name] | default(groups[mon_group_name]) }}" + hosts: "{{ groups['mgrs'] | default(groups['mons']) | default(omit) }}" serial: 1 become: true gather_facts: false -- 2.39.5