-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #487 from socallinuxexpo/rh/1658860487auto
[READY] - Updating servers and csv list
- Loading branch information
Showing
6 changed files
with
31 additions
and
33 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
34 changes: 9 additions & 25 deletions
34
ansible/roles/dnsserver/templates/named.conf.scale-acls.j2
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,32 +1,16 @@ | ||
// acls managed by ansible | ||
// FIX: this makes assumes for the building and ip mapping | ||
|
||
acl conference { | ||
{% if hostvars[ansible_hostname].building == "Conference" %} | ||
localhost; | ||
{% endif %} | ||
{% for vlan in vlans %} | ||
{% if vlan["building"] == "Conference" %} | ||
{% if vlan["ipv6prefix"] != " " %} | ||
{{ vlan["ipv6prefix"] }}/{{ vlan["ipv6bitmask"]}}; | ||
{% endif %} | ||
{% if vlan["ipv4prefix"] != " " %} | ||
{{ vlan["ipv4prefix"] }}/{{ vlan["ipv4bitmask"] }}; | ||
{% endif %} | ||
{% endif -%} | ||
{% endfor -%} | ||
10.128.0.0/16; | ||
2001:470:f0fb:500::/56; | ||
2001:470:f0fb:600::/55; | ||
2001:470:f0fb:800::/56; | ||
}; | ||
|
||
acl expo { | ||
{% if hostvars[ansible_hostname].building != "Conference" %} | ||
localhost; | ||
{% endif %} | ||
{% for vlan in vlans %} | ||
{% if vlan["building"] != "Conference" %} | ||
{% if vlan["ipv6prefix"] != " " %} | ||
{{ vlan["ipv6prefix"] }}/{{ vlan["ipv6bitmask"]}}; | ||
{% endif %} | ||
{% if vlan["ipv4prefix"] != " " %} | ||
{{ vlan["ipv4prefix"] }}/{{ vlan["ipv4bitmask"] }}; | ||
{% endif %} | ||
{% endif -%} | ||
{% endfor -%} | ||
10.0.0.0/16; | ||
2001:470:f0fb:0::/54; | ||
2001:470:f0fb:400::/56; | ||
}; |
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINnRaYbdYsnVqTZNRpXxgK1LlEk9QWa/JwaYAbOZFXiC scale19x-04032022 | ||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEqPnzsYPKyURdnUpZx1nt9RFQjaz9q7m5wh525Crsho dlang@dlang-mobile | ||
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCtTtJZOyg/9/hbP6IuCyjpA1L0SqMR6wWOU8uJaoa3YlN2sqUkIGne1WYc+4jR+0F2uusDQ1Beb2a9Z0XGxP7nkEIGc5ontC6R/ZUHGf8axz5LXGk9VESR6sMdOjeotSYWwcuj6kPqa0XNXy0nG08dhe8Y+QkjiDQRhjMka4OOmcjMtRAjJyfhROEMpFM18M4Fh3+8j36TatzQQWO6wZ408dQYIc6ShleVfVCvEn5fZ0lm3BRe0UW3wfNs9qupk89VrfUWAEYqvh2uSz9SJBEkGAumreu6ASq7rfPC2DyI60vIT4uaRsqSzfQyT9o1n4v8WmgUKp4kRfZ+T8jWFoUXhj82+2WCCxUlq8D1SRcXDI1OQhHNmH7okorw7TgKJPdM0f96tvgdviH3As6xP/GdnEup8HL0nqKSX8dbRggS9xvmr5SKqGN8QSrclJ+cCsUOWRctgGasf7m+Q6XFNF/8LG6wbqBxxw7TLMLkjVdppHAFoewoBau5cRKGQ++G+BU= dlang@dlang-mobile | ||
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDB3ATAbZj/tJXZsRnlpvAXphtY487R4EgDzBiVAf3BQxDzBnJ2T8KFTUUT/SKvq98erW3sCCuEFTYM4CVEm1uDDqhVfWuRbihx8tECZf3AYix3jslZrRUOBkHENxfSIqIwdtwKMuhWUjOhUZY396HMEJ4Qgo+KajAxFC1o2qSBaHN5gsCdZBUd21zJ1+eZHanv6WvwbXQAd4SPjEr61FV4Nw7LWp/theyMVbLYQgpj8kyQK2O2aF08Ts5R7kVSVmZujlUtI4QhObucOdbpfHEc1W0mvrQ5RxNXLElw22OcypEY4/K7eCcb77PHpdBbqqwChBQjx19DBnz0jSuWSCMDwBd1Z68P227IGM8R6L5HLJJpGNWP1jiDvFoCs2YqNlMrMgOLwUnclKWrhppdHcOTvatgDE238XFjQrod2uXORVE3egcWYFqC2L2qilCCBdC3Mf6TRbREZlQ5G79QdLmBBzB8u0DnSFOcQNRFRitbQKUsvdNUeM+GzYciWwPc5tNhEWXlAoSoHYFgDNjzJrU67IuSTT0GJ10Ijs/gCJLX5ctfra3uvgkeXTI49SdD4PSaXYvAGotb7clB6IHb/zwdQFdLtpo54FDQAEOWM00soLd0F2aj2gTmZ/kI/KpBz7ZsJvN35SSudQOZk+PTECWgfQuJHJh5502UsuddgDxi7w== | ||
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBjjcUJLTENGrV6K/nrPOswcBVMMuS4sLSs0UyTRw8wU87PDUzJz8Ht2SgHqeEQJdRm1+b6iLsx2uKOf+/pU8qE= [email protected] | ||
|
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,4 +1,5 @@ | ||
ssh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