-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d191613
commit 9307d1c
Showing
13 changed files
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
addresses: | ||
main: "~{{ lookup('topology','interfaces').wan.address }}" | ||
main: "~{{ lookup('topology', 'interfaces').wan.address }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ config.{{ interface }}.services.snmp.enabled on | |
config.{{ interface }}.services.ssh.enabled on | ||
config.{{ interface }}.services.ssh_ports.enabled on | ||
config.{{ interface }}.services.tcp_ports.enabled on | ||
|
||
{% endif %} | ||
{% endfor %} | ||
|
||
|
@@ -71,8 +71,8 @@ config.dialin.services.modified true | |
config.dialout.services.modified true | ||
|
||
## console ports | ||
{% for port,device in lookup("topology","ports").items() %} | ||
{% set custom_param = lookup("system","console","{}.{}.blade-group.net".format(device,location)) %} | ||
{% for port,device in lookup("topology", "ports").items() %} | ||
{% set custom_param = lookup("system", "console", "{}.{}.blade-group.net".format(device,location)) %} | ||
|
||
config.ports.port{{ port }}.charsize 8 | ||
config.ports.port{{ port }}.dtrmode alwayson | ||
|
@@ -100,7 +100,7 @@ config.services.lldp.enabled on | |
config.services.snmp.enabled on | ||
config.services.snmp.protocol UDP | ||
config.services.snmp.roauthprotocol SHA | ||
config.services.snmp.rocommunity {{ lookup("system","snmp")["ro-community"] }} | ||
config.services.snmp.rocommunity {{ lookup("system", "snmp")["ro-community"] }} | ||
config.services.snmp.roprivprotocol DES | ||
config.services.snmp.syscontact [email protected] | ||
config.services.snmp.syslocation {{ lookup("system", "datacenter") }}, {{ lookup("system", "country") }} | ||
|
@@ -117,5 +117,5 @@ config.system.timezone UTC | |
## user | ||
config.users.user1.description Root User | ||
config.users.user1.username root | ||
config.users.user1.password {{ lookup("system","users").blade["opengear-password"] }} | ||
config.users.user1.password {{ lookup("system", "users").blade["opengear-password"] }} | ||
config.users.total 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{{ lookup("system","motd") }} | ||
{{ lookup("system", "motd") }} |