22
33Git CTF 🚩 but good this time.
44
5- - [ make-git-better-2] ( #make-git-better-2 )
6- - [ Dependencies] ( #dependencies )
7- - [ Build] ( #build )
8- - [ Ansible] ( #ansible )
9- - [ How to build the challenge Docker manually] ( #how-to-build-the-challenge-docker-manually )
10- - [ Create the hook script] ( #create-the-hook-script )
11- - [ powershell] ( #powershell )
12- - [ sh] ( #sh )
13- - [ Build and run docker image] ( #build-and-run-docker-image )
14- - [ Build docker] ( #build-docker )
15- - [ Run docker] ( #run-docker )
16- - [ Copy ssh key (for outside cloning)] ( #copy-ssh-key-for-outside-cloning )
17- - [ Useful oneliner] ( #useful-oneliner )
18- - [ Connect to the running instance] ( #connect-to-the-running-instance )
19- - [ How to build the web content] ( #how-to-build-the-web-content )
20- - [ Build the level browser] ( #build-the-level-browser )
21- - [ Set up docker-tcp-switchboard] ( #set-up-docker-tcp-switchboard )
22- - [ Test] ( #test )
23- - [ Unit tests] ( #unit-tests )
24- - [ Test levels] ( #test-levels )
25- - [ Develop] ( #develop )
26- - [ Add a new stage] ( #add-a-new-stage )
5+ * [ Dependencies] ( #dependencies )
6+ * [ Build] ( #build )
7+ * [ Ansible] ( #ansible )
8+ * [ How to build the challenge Docker manually] ( #how-to-build-the-challenge-docker-manually )
9+ * [ Create the hook script] ( #create-the-hook-script )
10+ * [ powershell] ( #powershell )
11+ * [ sh] ( #sh )
12+ * [ Build and run docker image] ( #build-and-run-docker-image )
13+ * [ Build docker] ( #build-docker )
14+ * [ Run docker] ( #run-docker )
15+ * [ Copy ssh key (for outside cloning)] ( #copy-ssh-key-for-outside-cloning )
16+ * [ Useful oneliner] ( #useful-oneliner )
17+ * [ Connect to the running instance] ( #connect-to-the-running-instance )
18+ * [ How to build the web content] ( #how-to-build-the-web-content )
19+ * [ Build the level browser] ( #build-the-level-browser )
20+ * [ Set up docker-tcp-switchboard] ( #set-up-docker-tcp-switchboard )
21+ * [ Test] ( #test )
22+ * [ Unit tests] ( #unit-tests )
23+ * [ Test levels] ( #test-levels )
24+ * [ Develop] ( #develop )
25+ * [ Add a new stage] ( #add-a-new-stage )
2726
2827## Dependencies
2928
@@ -45,6 +44,12 @@ ansible-playbook -v -i hosts build.yaml
4544```
4645
4746Make sure that you have Ansible configured correctly with your SSH keys.
47+ [ Here's the docs] ( https://docs.ansible.com/ansible/latest/inventory_guide/connection_details.html ) .
48+
49+ > Note: Remember to expose 22 to your IP. If you're like me with AWS EC2, you
50+ > need to add a rule to the security group. Like this:
51+ >
52+ > ` aws ec2 authorize-security-group-ingress --group-id PUT_HERE --protocol tcp --port 22 --cidr "$(curl -s https://wtfismyip.com/json | jq -r '.YourFuckingIPAddress')/32" `
4853
4954### How to build the challenge Docker manually
5055
0 commit comments