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:
Jose Luis Franco Arza 2017-09-06 11:50:00 +02:00 committed by Carlos Camacho
parent adc76719fb
commit f37a6f9966
2 changed files with 2 additions and 0 deletions

View File

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

View File

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