]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Add with_pkg tag on package related tasks
authorFrancesco Pantano <fpantano@redhat.com>
Mon, 31 Jan 2022 16:25:19 +0000 (17:25 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 1 Feb 2022 15:04:10 +0000 (16:04 +0100)
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 <fpantano@redhat.com>
infrastructure-playbooks/cephadm-adopt.yml

index 011b811c35e892e98528046bf0be42a08ccf7376..6d5c2114a3fb7195eb7c9b09b9d993371d4d7ac7 100644 (file)
 
     - name: configure repository for installing cephadm
       when: containerized_deployment | bool
+      tags: with_pkg
       block:
         - name: set_fact ceph_origin
           set_fact:
             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