aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/playbooks/files
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2017-08-16 11:32:13 +0200
committerPeter Mikus <pmikus@cisco.com>2017-08-16 09:35:30 +0000
commitba0d4b44c16a371f9fd8386121995ce81baa668a (patch)
tree3eaedc0e4ae79f0a2786311d8ee5de7c037a08c2 /resources/tools/testbed-setup/playbooks/files
parentee52db86af140da3c919476dcd1441acdc9e7600 (diff)
CSIT-770 Installation of prerequisites on physical hosts
- Update ansible to install kubernetes and docker Change-Id: Ibf57d4fa697f7c9b58f2e4925387b0c4e8b67274 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/tools/testbed-setup/playbooks/files')
-rw-r--r--resources/tools/testbed-setup/playbooks/files/interfaces_physical14
-rw-r--r--resources/tools/testbed-setup/playbooks/files/interfaces_virl (renamed from resources/tools/testbed-setup/playbooks/files/interfaces)0
2 files changed, 14 insertions, 0 deletions
diff --git a/resources/tools/testbed-setup/playbooks/files/interfaces_physical b/resources/tools/testbed-setup/playbooks/files/interfaces_physical
new file mode 100644
index 0000000000..734d8cd18f
--- /dev/null
+++ b/resources/tools/testbed-setup/playbooks/files/interfaces_physical
@@ -0,0 +1,14 @@
+# This file describes the network interfaces available on your system
+# and how to activate them. For more information, see interfaces(5).
+
+# The loopback network interface
+auto lo
+iface lo inet loopback
+
+# The primary network interface
+auto {{ ansible_default_ipv4["interface"] }}
+iface {{ ansible_default_ipv4["interface"] }} inet static
+ address {{ ansible_default_ipv4["address"] }}
+ netmask {{ ansible_default_ipv4["netmask"] }}
+ gateway {{ ansible_default_ipv4["gateway"] }}
+ dns-nameservers 199.204.44.24 199.204.47.54
diff --git a/resources/tools/testbed-setup/playbooks/files/interfaces b/resources/tools/testbed-setup/playbooks/files/interfaces_virl
index 25ea35a0c5..25ea35a0c5 100644
--- a/resources/tools/testbed-setup/playbooks/files/interfaces
+++ b/resources/tools/testbed-setup/playbooks/files/interfaces_virl