aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/stor4nfv/roles/os-stor4nfv/files/install_ansible.sh
diff options
context:
space:
mode:
authorramamani yeleswarapu <ramamani.yeleswarapu@intel.com>2018-08-01 18:23:01 -0700
committerramamani yeleswarapu <ramamani.yeleswarapu@intel.com>2018-08-22 10:06:46 -0700
commitdd141c87e0c5ca38b727760d70fa2956d83d03b2 (patch)
treedf2b7724ca46fd8c549a41486a039ef6f42d0500 /plugins/stor4nfv/roles/os-stor4nfv/files/install_ansible.sh
parent95051275af7e753f6901c24be2b38553daf84b0d (diff)
[stor4nfv] Add os-stor4nfv role for OpenStack deploy
Adds os-stor4nfv role for OpenStack deploy which installs OpenSDS and Cindercompatibleapi. Disables Cinder service and configures cindercompatibleapi to work with 'lvm' backend. Adds os-nosdn-stor4nfv-ha scenario file. Adds os-nosdn-stor4nfv-noha scenario file. Change-Id: Ie4b6a874beb3f61aa2fd08ebc6c97ab737c012ee Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
Diffstat (limited to 'plugins/stor4nfv/roles/os-stor4nfv/files/install_ansible.sh')
-rw-r--r--plugins/stor4nfv/roles/os-stor4nfv/files/install_ansible.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/plugins/stor4nfv/roles/os-stor4nfv/files/install_ansible.sh b/plugins/stor4nfv/roles/os-stor4nfv/files/install_ansible.sh
new file mode 100644
index 00000000..d921d4e2
--- /dev/null
+++ b/plugins/stor4nfv/roles/os-stor4nfv/files/install_ansible.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+# #############################################################################
+# Copyright (c) 2018 Intel Corp.
+#
+# 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
+# #############################################################################
+
+add-apt-repository ppa:ansible/ansible-2.4
+
+apt-get update
+apt-get install -y ansible
+sleep 5
+
+ansible --version
+