diff options
author | QiLiang <liangqi1@huawei.com> | 2015-11-23 15:22:28 +0800 |
---|---|---|
committer | QiLiang <liangqi1@huawei.com> | 2015-12-02 11:58:45 +0800 |
commit | 065da65479888dcf5340a8d15d7d8a4cadce6264 (patch) | |
tree | 805b621e5117f721069a92c8986c6dd106b7253d /deploy/adapters/ansible/roles/heat/handlers/main.yml | |
parent | 3c48d787b3caa3a12153257abf66e3211109b8f5 (diff) |
compass4nfv support heat
JIRA: COMPASS-52
Change-Id: I0cab3ba4d435b2b28eff9a1a73c3d829be731e3d
Signed-off-by: QiLiang <liangqi1@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/heat/handlers/main.yml')
-rw-r--r-- | deploy/adapters/ansible/roles/heat/handlers/main.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/heat/handlers/main.yml b/deploy/adapters/ansible/roles/heat/handlers/main.yml new file mode 100644 index 00000000..74bcd10a --- /dev/null +++ b/deploy/adapters/ansible/roles/heat/handlers/main.yml @@ -0,0 +1,8 @@ +--- +- name: restart heat service + service: name={{ item }} state=restarted enabled=yes + with_items: services | union(services_noarch) + +- name: remove heat-sqlite-db + shell: rm /var/lib/heat/heat.sqlite || touch heat.sqlite.db.removed + |