summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/odl_cluster/vars
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2015-08-30 21:47:49 -0400
committerchenshuai@huawei.com <chenshuai@huawei.com>2015-09-02 02:26:24 -0400
commit633175ed2c5d0ab339027ba0a542bcdd4d3769c0 (patch)
treee9dad6f2819b113ac7f0a9695254e05b5fc1fc94 /deploy/adapters/ansible/roles/odl_cluster/vars
parent60d16e487ba8641640a185369f3882e1227e56d7 (diff)
Write ODL ansible script for Ubuntu14.04
JIRA: COMPASS-23 Change-Id: Iad692c8f77492989e29d0a4862989edea1d48fc5 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/odl_cluster/vars')
-rw-r--r--deploy/adapters/ansible/roles/odl_cluster/vars/Debian.yml5
-rw-r--r--deploy/adapters/ansible/roles/odl_cluster/vars/RedHat.yml5
-rw-r--r--deploy/adapters/ansible/roles/odl_cluster/vars/main.yml3
3 files changed, 12 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/odl_cluster/vars/Debian.yml b/deploy/adapters/ansible/roles/odl_cluster/vars/Debian.yml
index c0e49019..a2a4795c 100644
--- a/deploy/adapters/ansible/roles/odl_cluster/vars/Debian.yml
+++ b/deploy/adapters/ansible/roles/odl_cluster/vars/Debian.yml
@@ -2,3 +2,8 @@
packages:
- openjdk-7-jdk
+ - crudini
+
+service_file:
+ src: opendaylight.conf
+ dst: /etc/init/opendaylight.conf
diff --git a/deploy/adapters/ansible/roles/odl_cluster/vars/RedHat.yml b/deploy/adapters/ansible/roles/odl_cluster/vars/RedHat.yml
index 9c441d62..8becb8b6 100644
--- a/deploy/adapters/ansible/roles/odl_cluster/vars/RedHat.yml
+++ b/deploy/adapters/ansible/roles/odl_cluster/vars/RedHat.yml
@@ -2,3 +2,8 @@
packages:
- java-1.7.0-openjdk
+ - crudini
+
+service_file:
+ - src: opendaylight.service
+ dst: /usr/lib/systemd/system/opendaylight.service
diff --git a/deploy/adapters/ansible/roles/odl_cluster/vars/main.yml b/deploy/adapters/ansible/roles/odl_cluster/vars/main.yml
index b98810a3..73a3b02e 100644
--- a/deploy/adapters/ansible/roles/odl_cluster/vars/main.yml
+++ b/deploy/adapters/ansible/roles/odl_cluster/vars/main.yml
@@ -3,7 +3,8 @@ odl_username: admin
odl_password: admin
odl_api_port: 8080
-odl_pkg_url: https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.3.0-Lithium/distribution-karaf-0.3.0-Lithium.tar.gz
+#odl_pkg_url: https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.3.0-Lithium/distribution-karaf-0.3.0-Lithium.tar.gz
+odl_pkg_url: karaf.tar.gz
odl_pkg_name: karaf.tar.gz
odl_home: "/opt/opendaylight-0.3.0/"
odl_base_features: ['config', 'standard', 'region', 'package', 'kar', 'ssh', 'management', 'odl-restconf','odl-l2switch-switch','odl-openflowplugin-all','odl-mdsal-apidocs','odl-dlux-all','odl-adsal-northbound','odl-nsf-all','odl-ovsdb-openstack','odl-ovsdb-northbound','odl-dlux-core']