Skip to content

Commit

Permalink
Add with_pkg tag on package related tasks
Browse files Browse the repository at this point in the history
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 12dd8b5)
  • Loading branch information
fmount authored and guits committed Feb 4, 2022
1 parent 9916c2d commit 8f15179
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions infrastructure-playbooks/cephadm-adopt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 8f15179

Please sign in to comment.