Skip to content

Commit

Permalink
Merge pull request #29 from terraform-modules/update-ansible
Browse files Browse the repository at this point in the history
add host to ansible list, change to use dns lookup
  • Loading branch information
badra001 committed Feb 11, 2022
2 parents 032241e + 32f5fdb commit 395ff3e
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 14 deletions.
16 changes: 11 additions & 5 deletions it-windows-base/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
# v1.0 -- 20200731
# Version 1.x

* v1.0 -- 20200731
* create from running security group it-windows-base for use throughout

# v1.1 -- 20210119
* v1.1 -- 20210119
* add EnCase source 148.129.71.121 to 4445/tcp (ticket INC000002587282)
* add Riverbed Transaction Agent (formerly appcapture) 172.24.100.107 to 27401/tcp

# v1.2.0 -- 20210226
* v1.2.0 -- 20210226
* add HPSA and HPOM
* ticket INC000002652291

# v1.2.1 -- 20210528
* v1.2.1 -- 20210528
* remove HPSA and HPOM
* ticket INC000002703111

# v1.2.2 -- 20220203
* v1.2.2 -- 20220203
* Added 135 and 1024-65535/tcp to it-windows-base to allow discovery from csvdsnmidw001i.csp1.ead.census.gov, csvdsnmidw002i.csp1.ead.census.gov.
* ticket INC000002819140

* v1.2.3 -- 20220-02-11
- added host automationcontroller.compute.csp1.census.gov to ansible list
- moved ansible list to dns-lookup module
4 changes: 3 additions & 1 deletion it-windows-base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ module "it-windows-base" {

## Modules

No modules.
| Name | Source | Version |
|------|--------|---------|
| <a name="module_ansible_servers"></a> [ansible\_servers](#module\_ansible\_servers) | git@github.e.it.census.gov:terraform-modules/dns-lookup.git | n/a |

## Resources

Expand Down
10 changes: 10 additions & 0 deletions it-windows-base/hosts.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module "ansible_servers" {
source = "git@github.e.it.census.gov:terraform-modules/dns-lookup.git"

hosts = [
"app28.csvd.census.gov",
"automationcontroller.compute.csp1.census.gov",
]
use_cidr_format = true
}

15 changes: 8 additions & 7 deletions it-windows-base/ports.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@

## this adds iperf3
locals {
n_all = ["0.0.0.0/0"]
n_census = ["148.129.0.0/16", "192.168.0.0/16", "172.16.0.0/12", "10.0.0.0/8"]
n_mgmt = ["148.129.162.0/24", "148.129.95.0/24"]
n_backup = ["10.193.0.0/22"]
n_ansible = ["172.24.12.239/32"]
n_encase = ["148.129.121.72/32"]
n_riverbed = ["172.24.100.107/32"]
n_all = ["0.0.0.0/0"]
n_census = ["148.129.0.0/16", "192.168.0.0/16", "172.16.0.0/12", "10.0.0.0/8"]
n_mgmt = ["148.129.162.0/24", "148.129.95.0/24"]
n_backup = ["10.193.0.0/22"]
# n_ansible = ["172.24.12.239/32"]
n_ansible = module.ansible_severs.addresses_ipv4
n_encase = ["148.129.121.72/32"]
n_riverbed = ["172.24.100.107/32"]
n_servicenow = ["10.193.2.104/32", "10.193.3.207/32"]
# n_hpsa = ["172.24.100.141/32", "172.24.100.154/32", "172.24.100.165/32"]
# n_hpom = ["172.24.105.24/32"]
Expand Down
2 changes: 1 addition & 1 deletion it-windows-base/version.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
locals {
_module_version = "1.2.2"
_module_version = "1.2.3"
}

0 comments on commit 395ff3e

Please sign in to comment.