Add validation for VPP upgrade tasks
[apex-tripleo-heat-templates.git] / puppet / services / horizon.yaml
index 7798385..60b009a 100644 (file)
@@ -100,7 +100,7 @@ outputs:
       upgrade_tasks:
         - name: Check if httpd is deployed
           command: systemctl is-enabled httpd
-          tags: step0,validation
+          tags: common
           ignore_errors: True
           register: httpd_enabled
         - name: "PreUpgrade step0,validation: Check if httpd is running"
@@ -110,5 +110,6 @@ outputs:
           when: httpd_enabled.rc == 0
           tags: step0,validation
         - name: Stop Horizon (under httpd)
-          tags: step2
+          tags: step1
+          when: httpd_enabled.rc == 0
           service: name=httpd state=stopped