From: Francesco Pantano Date: Mon, 31 Jan 2022 16:25:19 +0000 (+0100) Subject: Add with_pkg tag on package related tasks X-Git-Tag: v6.0.24~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8f15179d570c09875c473942c5163545a4c5f09d;p=ceph-ansible.git Add with_pkg tag on package related tasks In the OpenStack context we let the integration tool (TripleO) deal with repositories and packages. This change just adds the with_pkg tag to allow TripleO skipping both the repositories and packages installation. Signed-off-by: Francesco Pantano (cherry picked from commit 12dd8b5df10c403d09292168e1c9ad51431ff822) --- diff --git a/infrastructure-playbooks/cephadm-adopt.yml b/infrastructure-playbooks/cephadm-adopt.yml index 011b811c3..6d5c2114a 100644 --- a/infrastructure-playbooks/cephadm-adopt.yml +++ b/infrastructure-playbooks/cephadm-adopt.yml @@ -147,6 +147,7 @@ - name: configure repository for installing cephadm when: containerized_deployment | bool + tags: with_pkg block: - name: set_fact ceph_origin set_fact: @@ -169,18 +170,21 @@ tasks_from: "configure_repository.yml" - name: install cephadm requirements + tags: with_pkg package: name: ['python3', 'lvm2'] register: result until: result is succeeded - name: install cephadm + tags: with_pkg package: name: cephadm register: result until: result is succeeded - name: install cephadm mgr module + tags: with_pkg package: name: ceph-mgr-cephadm register: result