From: Guillaume Abrioux Date: Fri, 4 Aug 2023 07:54:22 +0000 (+0200) Subject: cephadm-adopt: fix an issue in mgr adoption play X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=58758bca289c20fdd6ec1f5fbfc63dca58afb2d8;p=ceph-ansible.git cephadm-adopt: fix an issue in mgr adoption play this drops variables in 'hosts' field of mgr adoption play. Signed-off-by: Guillaume Abrioux --- 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