aboutsummaryrefslogtreecommitdiffstats
path: root/tools/md-testvnf/scripts/ansible.sh
diff options
context:
space:
mode:
authorShubham Mishra <shivam828787@gmail.com>2020-11-03 14:43:08 +0530
committerShubham Mishra <shivam828787@gmail.com>2020-11-03 14:58:07 +0530
commit656acff48dfba2f2945a3baf8d696007b8229200 (patch)
treebacd96e80c7811ad008b36ae8c287c4e7a3450ed /tools/md-testvnf/scripts/ansible.sh
parent605102bb6a8a3b48f0c66d817614eec0ef42e017 (diff)
Add image builder for testvnf using packer tool
Signed-off-by: Shubham Mishra <shivam828787@gmail.com> Change-Id: I76b25903bdd328c9dbaeaa6041f114f8e2b8dccf
Diffstat (limited to 'tools/md-testvnf/scripts/ansible.sh')
-rw-r--r--tools/md-testvnf/scripts/ansible.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/md-testvnf/scripts/ansible.sh b/tools/md-testvnf/scripts/ansible.sh
new file mode 100644
index 00000000..770e2483
--- /dev/null
+++ b/tools/md-testvnf/scripts/ansible.sh
@@ -0,0 +1,7 @@
+#!/bin/bash -eux
+yum -y update
+# Install EPEL repository.
+yum -y install epel-release
+
+# Install Ansible.
+yum -y install ansible \ No newline at end of file