summaryrefslogtreecommitdiff
path: root/roles/dellos6/bootstrap
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-05-21 13:50:11 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-05-21 13:50:11 +0200
commit272524137ff85531d3eeb3dc5879b5aa521531c4 (patch)
tree4daf51018d6661db7979c6eac9aaaa19437b60c0 /roles/dellos6/bootstrap
parentequinox-ws: install paramiko (diff)
revamp dellos6 roles
Diffstat (limited to 'roles/dellos6/bootstrap')
-rw-r--r--roles/dellos6/bootstrap/templates/init.j28
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/dellos6/bootstrap/templates/init.j2 b/roles/dellos6/bootstrap/templates/init.j2
index 42623fec..e832e614 100644
--- a/roles/dellos6/bootstrap/templates/init.j2
+++ b/roles/dellos6/bootstrap/templates/init.j2
@@ -15,6 +15,9 @@ exit
interface vlan {{ dellos6_mgmt_vlan }}
ip address {{ dellos6_mgmt_ipaddr }} {{ dellos6_mgmt_netmask }}
exit
+{% if dellos6_mgmt_gateway is defined %}
+ip default-gateway {{ dellos6_mgmt_gateway }}
+{% endif %}
no spanning-tree
crypto key generate rsa
@@ -32,6 +35,11 @@ exit
no application install hiveagent
no application install SupportAssist
+ip telnet server disable
+no ip http server
+no snmp-server enable traps
+no snmp-server enable traps all
+
enable password {{ ansible_become_password }}
end