diff options
Diffstat (limited to 'roles/dellos6/bootstrap/templates/init.j2')
-rw-r--r-- | roles/dellos6/bootstrap/templates/init.j2 | 8 |
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 |