{"id":20901621,"url":"https://github.com/willfarrell/ansible-playbook-bastion","last_synced_at":"2026-02-25T11:43:08.898Z","repository":{"id":142528654,"uuid":"85893404","full_name":"willfarrell/ansible-playbook-bastion","owner":"willfarrell","description":"CentOS Bastion Host Setup","archived":false,"fork":false,"pushed_at":"2017-03-24T19:00:55.000Z","size":122,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T15:48:03.008Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/willfarrell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-23T01:29:45.000Z","updated_at":"2020-03-15T23:38:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"a2f59b6c-c356-4e62-b248-11a8eac44acf","html_url":"https://github.com/willfarrell/ansible-playbook-bastion","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willfarrell%2Fansible-playbook-bastion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willfarrell%2Fansible-playbook-bastion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willfarrell%2Fansible-playbook-bastion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willfarrell%2Fansible-playbook-bastion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willfarrell","download_url":"https://codeload.github.com/willfarrell/ansible-playbook-bastion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253867357,"owners_count":21976212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T11:36:15.041Z","updated_at":"2026-02-25T11:43:03.865Z","avatar_url":"https://github.com/willfarrell.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-playbook-aws\n\n## Requirements\n- ansible \u003e= 2.3 (`pip install git+git://github.com/ansible/ansible.git@stable-2.3`)\n\n## Setup\n\n### Set org_id\nKeep it lowercase.\n- `./run`\n\n```yml\n---\n\n# SSH\n# Min Length: 14, 1 Uppercase, 1 Lowercase, 1 Number, 1 Special Char\nssh_default_password: 'P4ssw0rd!01234'\n```\n\n3. Encrypt secrets. `ansible-vault encrypt group_vars/all/secrets.yml --vault-password-file ~/.vault_password_{{ org_id }}`\n\n## Run\n`./run`\n\n## 2. Bastion Host\n- [x] Deploy EC2 instance\n- [x] Setup bastion host\n- [x] Setup Security Groups (SSH)\n- [x] role to add public keys to servers\n- [-] Docs for google-authenticator\n- [-] Docs for multi-plexing through bastion and setting up OTP\n\n## 3. Servers\n- [x] Security groups\n- [x] deploy Web Server + LB\n- [x] deploy DB\n- [x] harden Web Server\n- [x] docker Web Server\n- [ ] create users \u0026 tables DB\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillfarrell%2Fansible-playbook-bastion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillfarrell%2Fansible-playbook-bastion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillfarrell%2Fansible-playbook-bastion/lists"}