diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-05-21 13:50:11 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-05-21 13:50:11 +0200 |
commit | 272524137ff85531d3eeb3dc5879b5aa521531c4 (patch) | |
tree | 4daf51018d6661db7979c6eac9aaaa19437b60c0 /roles/dellos6/bootstrap/templates/init.j2 | |
parent | equinox-ws: install paramiko (diff) |
revamp dellos6 roles
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 |