Skip to content

Commit 8f15179

Browse files
fmountguits
authored andcommitted
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> (cherry picked from commit 12dd8b5)
1 parent 9916c2d commit 8f15179

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

infrastructure-playbooks/cephadm-adopt.yml

+4
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@
147147

148148
- name: configure repository for installing cephadm
149149
when: containerized_deployment | bool
150+
tags: with_pkg
150151
block:
151152
- name: set_fact ceph_origin
152153
set_fact:
@@ -169,18 +170,21 @@
169170
tasks_from: "configure_repository.yml"
170171

171172
- name: install cephadm requirements
173+
tags: with_pkg
172174
package:
173175
name: ['python3', 'lvm2']
174176
register: result
175177
until: result is succeeded
176178

177179
- name: install cephadm
180+
tags: with_pkg
178181
package:
179182
name: cephadm
180183
register: result
181184
until: result is succeeded
182185

183186
- name: install cephadm mgr module
187+
tags: with_pkg
184188
package:
185189
name: ceph-mgr-cephadm
186190
register: result

0 commit comments

Comments
 (0)