]> 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, 15 Feb 2022 17:18:22 +0000 (18:18 +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>
(cherry picked from commit 12dd8b5df10c403d09292168e1c9ad51431ff822)

infrastructure-playbooks/cephadm-adopt.yml

index faf9da46fea388847fb859f3421cba29d20560f8..14e2e4a53ba7dc34e7495621ac105df846aba02e 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