Containarise Barbican API
[apex-tripleo-heat-templates.git] / docker / services / heat-api.yaml
index 0bc331c..54c7bed 100644 (file)
@@ -133,6 +133,7 @@ outputs:
           heat_api_cron:
             image: {get_param: DockerHeatApiImage}
             net: host
+            user: root
             privileged: false
             restart: always
             volumes:
@@ -155,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"