A collection of Ansible playbooks developed. New structure has been created:
- ansible-playbooks directory - containers folders of playbooks.
- ansible-roles directory - all shared roles.
Credentials are stored in an Ansible vault, usually in vars/{{ env }}_aws/vault.yml
. Vault file is not uploaded.
Ansible playbooks:
- bastionhost - A playbook that creates a bastion host, allowing SSH access to private instances within a VPC (blog post here).
- openvpn - A playbook that creates an personal OpenVPN server.
- vpc_create - A playbook that creates a VPC, with associated subnets and routes. Note, this may conflict with the
bastionhost
playbook, as that requires interaction with AWS routing. - openvpn_terraform - Using Terraform to first provision, a playbook that deploys a personal OpenVPN server (blog post here).
- another kubernetes playbook - A playbook that configures a Kubernetes stack deployed via Terraform (blog post here).
- stuffs - A playbook that gathers inventory data on all instances and generates a static web page inventory using Hugo (Blog post here).
Ansible-container:
- Moved here - https://github.com/bonovoxly/containers
Old format:
- amibuilder - A playbook that builds role-based AMI images from a base AMI.
- awsbackup - A playbook that snaphots selected instances, including rotation logic.
- ec2_vpc_route_table_issue_test - A playbook that exercises a minor ec2_vpc routing NAT bug, when the NAT instance is deleted.
- rancher_demo - A playbook that creates a Rancher demo instance, with a Docker hosts.