Add tags in upgrade_tasks for mongodb services.
Patch Ie09ce2a52128eef157e4d768c1c4776fc49f2324 added a new
set of upgrade tasks which were missing the 'tags' keyword.
Closes-Bug: 1715631
Change-Id: Ib1c1aadfbf58c9bccc18667934c8b3c5f38fafa4
(cherry picked from commit 7897d38274
)
This commit is contained in:
parent
adc76719fb
commit
f37a6f9966
|
@ -159,6 +159,7 @@ outputs:
|
|||
upgrade_tasks:
|
||||
- name: Check for mongodb service
|
||||
stat: path=/usr/lib/systemd/system/mongod.service
|
||||
tags: common
|
||||
register: mongod_service
|
||||
- name: Stop and disable mongodb service
|
||||
tags: step2
|
||||
|
|
|
@ -39,6 +39,7 @@ outputs:
|
|||
upgrade_tasks:
|
||||
- name: Check for mongodb service
|
||||
stat: path=/usr/lib/systemd/system/mongod.service
|
||||
tags: common
|
||||
register: mongod_service
|
||||
- name: Stop and disable mongodb service on upgrade
|
||||
tags: step1
|
||||
|
|
Loading…
Reference in New Issue