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 <fpantano@redhat.com>
pull/7072/head
Francesco Pantano 2022-01-31 17:25:19 +01:00 committed by Guillaume Abrioux
parent bc36f60e8d
commit 12dd8b5df1
1 changed files with 4 additions and 0 deletions

View File

@ -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