heat_api_cron:
image: {get_param: DockerHeatApiImage}
net: host
+ user: root
privileged: false
restart: always
volumes:
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"