-
-
Notifications
You must be signed in to change notification settings - Fork 4
Bastion Container Creation #14
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
5d6942d
add basic bastion container
amandayclee 7386b3e
Remove the prebuilt bastion image and add a custom Dockerfile
amandayclee 47380dd
add create sysadmin user and add to sudoers
amandayclee ff0272f
add bastion hosts config
amandayclee bfd9310
add sysadmin no password config for bastion server
amandayclee 15dd011
revise docker compose for no password config
amandayclee e731e75
change the order of commands to get ssh start
amandayclee 2ec280d
update bastion/dockerfile and dockercomose
Shafiya-Heena 22a8e1d
update bastion config file and location
Shafiya-Heena 6b11dc1
update db files to start the ssh service
Shafiya-Heena 0d48777
adjust spacing
Shafiya-Heena a790822
correcting the space
Shafiya-Heena bf9bdcd
remove db folder and update docker compose as SSH is no longer needed…
amandayclee e7d883b
Merge branch 'bastion' of github.com:creativecommons/ansible-dev into…
amandayclee 7a45bbf
fix typo in docker compose file
amandayclee a2de11a
remove duplicate command for ansible-dev
amandayclee ce8eeec
run ansible playbook command in dockerfile
amandayclee 3066249
add ProxyJump config and remove db-dev in sysadmin ssh config for bas…
amandayclee 3fd6a8d
revert the ENTRYPOINT change in ansible Dockerfile
amandayclee 436b70d
update README.MD for bastion and ssh config
amandayclee a603592
correct ProxyJump in ssh config
amandayclee 8b7a388
correct contaniner port in ssh config
amandayclee fcbdf61
update README.md
Shafiya-Heena afc2079
update README.md
Shafiya-Heena f4eb225
update README.md
Shafiya-Heena File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
update bastion config file and location
- Loading branch information
commit 22a8e1d0c966621f2a6654680b013186c1abfe4c
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Host ansible-dev | ||
HostName ansible-dev | ||
User sysadmin | ||
IdentityFile /home/sysadmin/.ssh/id_rsa | ||
ForwardAgent yes | ||
|
||
Host web-dev | ||
HostName web-dev | ||
User sysadmin | ||
IdentityFile /home/sysadmin/.ssh/id_rsa | ||
ForwardAgent yes | ||
|
||
Host db-dev | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. please remove db details as we are not managing it - Host db-dev
- HostName db-dev
- User sysadmin
- identityFile /home/sysadmin/.ssh/id_rsa
- ForwardAgent yes
+ |
||
HostName db-dev | ||
User sysadmin | ||
IdentityFile /home/sysadmin/.ssh/id_rsa | ||
ForwardAgent yes | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we decided to use ProxyJump, so this needs to be updated accordingly.
something like this