aboutsummaryrefslogtreecommitdiffstats
path: root/docker/services/heat-api.yaml
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2017-08-03 10:20:15 -0400
committerDan Prince <dprince@redhat.com>2017-08-03 10:20:57 -0400
commit59e29b17f4a9f5f65b6f8a7b8e82ef6426d8a581 (patch)
tree3943952cf488779ff9334e1f143d931ff3d5eda9 /docker/services/heat-api.yaml
parent2cf0a6843a1df7fb4386c96c7e782609a52e98e3 (diff)
Remove baremetal cron jobs on docker upgrade
Change-Id: I072a3f582cdb978187d14233ea1ba636d12a1293 Closes-bug: #1708466
Diffstat (limited to 'docker/services/heat-api.yaml')
-rw-r--r--docker/services/heat-api.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/services/heat-api.yaml b/docker/services/heat-api.yaml
index 9e38b060..54c7bedd 100644
--- a/docker/services/heat-api.yaml
+++ b/docker/services/heat-api.yaml
@@ -156,6 +156,10 @@ outputs:
tags: common
ignore_errors: True
register: heat_api_enabled
+ - name: remove old heat cron jobs
+ file:
+ path: /var/spool/cron/heat
+ state: absent
- name: check for heat_api running under apache (post upgrade)
tags: step2
shell: "httpd -t -D DUMP_VHOSTS | grep -q heat_api_wsgi"