diff options
author | shuai chen <chenshuai@huawei.com> | 2015-12-03 10:27:00 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2015-12-03 10:27:00 +0000 |
commit | 5de09de80aac43e61ec411ad598e8cd915d9cadd (patch) | |
tree | 570bd8310ba4488f36028d00730a9cd94cddc30e /deploy/adapters/ansible/roles/heat/handlers/main.yml | |
parent | fd5db7e03c9595c14df71a49e778a3bdda89e344 (diff) | |
parent | 065da65479888dcf5340a8d15d7d8a4cadce6264 (diff) |
Merge "compass4nfv support heat"
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 + |