From 272524137ff85531d3eeb3dc5879b5aa521531c4 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 21 May 2020 13:50:11 +0200 Subject: revamp dellos6 roles --- roles/dellos6/bootstrap/templates/init.j2 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'roles/dellos6/bootstrap') 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 -- cgit v1.2.3