summaryrefslogtreecommitdiffstats
path: root/puppet/services/horizon.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/services/horizon.yaml')
-rw-r--r--puppet/services/horizon.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/puppet/services/horizon.yaml b/puppet/services/horizon.yaml
index 9fa72a3b..60b009a8 100644
--- a/puppet/services/horizon.yaml
+++ b/puppet/services/horizon.yaml
@@ -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"
@@ -111,4 +111,5 @@ outputs:
tags: step0,validation
- name: Stop Horizon (under httpd)
tags: step1
+ when: httpd_enabled.rc == 0
service: name=httpd state=stopped