From: Jose Luis Franco Arza Date: Wed, 6 Sep 2017 09:50:00 +0000 (+0200) Subject: Add tags in upgrade_tasks for mongodb services. X-Git-Tag: opnfv-6.0.0~128^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=f37a6f996607f7bd2f180ef473ff54acff852785;p=apex-tripleo-heat-templates.git 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 7897d38274cb6435289bc4f4928f96b111e5b4f4) --- diff --git a/docker/services/database/mongodb.yaml b/docker/services/database/mongodb.yaml index d6bba20b..5cf6f925 100644 --- a/docker/services/database/mongodb.yaml +++ b/docker/services/database/mongodb.yaml @@ -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 diff --git a/puppet/services/disabled/mongodb-disabled.yaml b/puppet/services/disabled/mongodb-disabled.yaml index c01a91fb..0c6e2bbb 100644 --- a/puppet/services/disabled/mongodb-disabled.yaml +++ b/puppet/services/disabled/mongodb-disabled.yaml @@ -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