summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/neutron-network/handlers
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2015-11-19 08:02:05 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-11-19 08:02:05 +0000
commita5d9a6384c09ff8e84c7e6bfefb9b9202b0c2341 (patch)
tree619d37247db604325ca63421e54733d8ae1d3096 /deploy/adapters/ansible/roles/neutron-network/handlers
parentbe2bef457417df3aabcf371c8c8b9484c955c0f8 (diff)
parent4251f3ca9b4271649f9670468529ba2b077269d0 (diff)
Merge "support FWaaS and VPNaaS"
Diffstat (limited to 'deploy/adapters/ansible/roles/neutron-network/handlers')
-rw-r--r--deploy/adapters/ansible/roles/neutron-network/handlers/main.yml14
1 files changed, 9 insertions, 5 deletions
diff --git a/deploy/adapters/ansible/roles/neutron-network/handlers/main.yml b/deploy/adapters/ansible/roles/neutron-network/handlers/main.yml
index 7e67b76e..945724b4 100644
--- a/deploy/adapters/ansible/roles/neutron-network/handlers/main.yml
+++ b/deploy/adapters/ansible/roles/neutron-network/handlers/main.yml
@@ -1,15 +1,19 @@
---
-- name: restart common neutron network relation service
- service: name={{ item }} state=restarted enabled=yes
- with_items: services_noarch
-
- name: restart neutron network relation service
service: name={{ item }} state=restarted enabled=yes
- with_items: services
+ with_flattened:
+ - services_noarch
+ - services
- name: restart openvswitch agent service
service: name=neutron-openvswitch-agent state=restarted enabled=yes
+- name: restart vpn agent service
+ service: name={{ item }} state=restarted enabled=yes
+ with_items:
+ - neutron-vpn-agent
+ - strongswan
+
- name: kill dnsmasq
command: killall dnsmasq
ignore_errors: True