Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command center working configs #49

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ansible.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[defaults]
host_key_checking=False
8 changes: 6 additions & 2 deletions generate_machines.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ for i in $(seq 0 11); do echo -e "
ip: \"10.3.$i.254/24\"
public_ip: \"10.0.200.$[$i+64]/26\"
gateway: \"10.0.200.126\"
10.4.0.$[$i+100]:
team_id: \"$i\"
ip: \"10.4.0.$[$i+100]\"

\n"; done

Expand All @@ -85,10 +88,11 @@ hostnames:
web2: pegasi
elastic1: crucis
jenkins1: vega
jenkisn2: wolf
jenkins2: wolf
ad: sol
ftp: sirius
db: sirius
attack: persei
android: andromeda
router: cygni\n"
router: cygni
pi: luna\n"
104 changes: 103 additions & 1 deletion group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ default_password: "Changeme-2018"
whiteteam_nameservers:
- "8.8.8.8"


machines:

vega.team0.ists:
Expand Down Expand Up @@ -76,6 +77,14 @@ machines:
netmask: "255.255.255.0"
gateway: "10.3.0.254"
broadcast: "10.3.0.254"
cygni.team0.ists:
team_id: "0"
ip: "10.3.0.254/24"
public_ip: "10.0.200.64/26"
gateway: "10.0.200.126"
10.4.0.100:
team_id: "0"
ip: "10.4.0.100"



Expand Down Expand Up @@ -150,6 +159,14 @@ machines:
netmask: "255.255.255.0"
gateway: "10.3.1.254"
broadcast: "10.3.1.254"
cygni.team1.ists:
team_id: "1"
ip: "10.3.1.254/24"
public_ip: "10.0.200.65/26"
gateway: "10.0.200.126"
10.4.0.101:
team_id: "1"
ip: "10.4.0.101"



Expand Down Expand Up @@ -224,6 +241,14 @@ machines:
netmask: "255.255.255.0"
gateway: "10.3.2.254"
broadcast: "10.3.2.254"
cygni.team2.ists:
team_id: "2"
ip: "10.3.2.254/24"
public_ip: "10.0.200.66/26"
gateway: "10.0.200.126"
10.4.0.102:
team_id: "2"
ip: "10.4.0.102"



Expand Down Expand Up @@ -298,6 +323,14 @@ machines:
netmask: "255.255.255.0"
gateway: "10.3.3.254"
broadcast: "10.3.3.254"
cygni.team3.ists:
team_id: "3"
ip: "10.3.3.254/24"
public_ip: "10.0.200.67/26"
gateway: "10.0.200.126"
10.4.0.103:
team_id: "3"
ip: "10.4.0.103"



Expand Down Expand Up @@ -372,6 +405,14 @@ machines:
netmask: "255.255.255.0"
gateway: "10.3.4.254"
broadcast: "10.3.4.254"
cygni.team4.ists:
team_id: "4"
ip: "10.3.4.254/24"
public_ip: "10.0.200.68/26"
gateway: "10.0.200.126"
10.4.0.104:
team_id: "4"
ip: "10.4.0.104"



Expand Down Expand Up @@ -446,6 +487,14 @@ machines:
netmask: "255.255.255.0"
gateway: "10.3.5.254"
broadcast: "10.3.5.254"
cygni.team5.ists:
team_id: "5"
ip: "10.3.5.254/24"
public_ip: "10.0.200.69/26"
gateway: "10.0.200.126"
10.4.0.105:
team_id: "5"
ip: "10.4.0.105"



Expand Down Expand Up @@ -520,6 +569,14 @@ machines:
netmask: "255.255.255.0"
gateway: "10.3.6.254"
broadcast: "10.3.6.254"
cygni.team6.ists:
team_id: "6"
ip: "10.3.6.254/24"
public_ip: "10.0.200.70/26"
gateway: "10.0.200.126"
10.4.0.106:
team_id: "6"
ip: "10.4.0.106"



Expand Down Expand Up @@ -594,6 +651,14 @@ machines:
netmask: "255.255.255.0"
gateway: "10.3.7.254"
broadcast: "10.3.7.254"
cygni.team7.ists:
team_id: "7"
ip: "10.3.7.254/24"
public_ip: "10.0.200.71/26"
gateway: "10.0.200.126"
10.4.0.107:
team_id: "7"
ip: "10.4.0.107"



Expand Down Expand Up @@ -668,6 +733,14 @@ machines:
netmask: "255.255.255.0"
gateway: "10.3.8.254"
broadcast: "10.3.8.254"
cygni.team8.ists:
team_id: "8"
ip: "10.3.8.254/24"
public_ip: "10.0.200.72/26"
gateway: "10.0.200.126"
10.4.0.108:
team_id: "8"
ip: "10.4.0.108"



Expand Down Expand Up @@ -742,6 +815,14 @@ machines:
netmask: "255.255.255.0"
gateway: "10.3.9.254"
broadcast: "10.3.9.254"
cygni.team9.ists:
team_id: "9"
ip: "10.3.9.254/24"
public_ip: "10.0.200.73/26"
gateway: "10.0.200.126"
10.4.0.109:
team_id: "9"
ip: "10.4.0.109"



Expand Down Expand Up @@ -816,6 +897,14 @@ machines:
netmask: "255.255.255.0"
gateway: "10.3.10.254"
broadcast: "10.3.10.254"
cygni.team10.ists:
team_id: "10"
ip: "10.3.10.254/24"
public_ip: "10.0.200.74/26"
gateway: "10.0.200.126"
10.4.0.110:
team_id: "10"
ip: "10.4.0.110"



Expand Down Expand Up @@ -890,17 +979,30 @@ machines:
netmask: "255.255.255.0"
gateway: "10.3.11.254"
broadcast: "10.3.11.254"
cygni.team11.ists:
team_id: "11"
ip: "10.3.11.254/24"
public_ip: "10.0.200.75/26"
gateway: "10.0.200.126"
10.4.0.111:
team_id: "11"
ip: "10.4.0.111"




hostnames:
mail: tauri
web1: luna
web2: pegasi
elastic1: crucis
jenkins1: vega
jenkisn2: wolf
jenkins2: wolf
ad: sol
ftp: sirius
db: sirius
attack: persei
android: andromeda
router: cygni
pi: luna

11 changes: 11 additions & 0 deletions hosts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,17 @@ persei.team0.ists
#persei.team11.ists

[RaspberryPi]
10.4.0.101
10.4.0.102
10.4.0.103
10.4.0.104
10.4.0.105
10.4.0.106
10.4.0.107
10.4.0.108
10.4.0.109
10.4.0.110
10.4.0.111
#luna.team0.ists
#luna.team1.ists
#luna.team2.ists
Expand Down
Loading