summaryrefslogtreecommitdiffstats
path: root/plugins/dpdk/roles/config-dpdk/tasks/config-dpdk.yml
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dpdk/roles/config-dpdk/tasks/config-dpdk.yml')
-rw-r--r--plugins/dpdk/roles/config-dpdk/tasks/config-dpdk.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/dpdk/roles/config-dpdk/tasks/config-dpdk.yml b/plugins/dpdk/roles/config-dpdk/tasks/config-dpdk.yml
new file mode 100644
index 00000000..b0e1a1ed
--- /dev/null
+++ b/plugins/dpdk/roles/config-dpdk/tasks/config-dpdk.yml
@@ -0,0 +1,16 @@
+#############################################################################
+# Copyright (c) 2017 HUAWEI TECHNOLOGIES CO.,LTD and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+---
+- include_vars: "{{ ansible_distribution }}.yml"
+
+- include: neutron_agent.yml
+ when: inventory_hostname in groups['neutron_openvswitch_agent']
+
+- include: compute.yml
+ when: inventory_hostname in groups['compute']