Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beryju/infrastructure
Ansible playbooks and Terraform code for my environment and infrastructure.
https://github.com/beryju/infrastructure
ansible ansible-playbooks docker docs infrastructure packer playbooks terraform terraform-cloud vault vmware
Last synced: 11 days ago
JSON representation
Ansible playbooks and Terraform code for my environment and infrastructure.
- Host: GitHub
- URL: https://github.com/beryju/infrastructure
- Owner: BeryJu
- Created: 2021-05-01T18:21:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-21T23:33:58.000Z (6 months ago)
- Last Synced: 2024-05-22T11:15:00.000Z (6 months ago)
- Topics: ansible, ansible-playbooks, docker, docs, infrastructure, packer, playbooks, terraform, terraform-cloud, vault, vmware
- Language: HCL
- Homepage: https://github.com/BeryJu
- Size: 2.57 MB
- Stars: 26
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ansible playbooks/Puppet stuff for my infrastructure
See also https://github.com/BeryJu/k8s, repository for GitOps with flux.
## Requirements
- Ansible latest
- Puppet latest
- HashiCorp Vault (for credentials)
- VMware vSphere (for provisioning)## Installation
```shell
poetry shell
poetry install # (--dev if you want to lint)
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES # Seems to workaround a bug with hvac on macOS
```## Non-puppet files
- `packer/`:
Contains a packer project used to create a custom base image with the VMware Cloud-init datasource.
- `tf/`:
Terraform stuff
- `images/`:
Various docker images for things.
Docker image that I use for day-to-day tasks, has all required utilities installed.
## Playbooks
- `actions/cleanup.yaml`:
Remove unused docker images (executed on a schedule by AWX)
- `actions/sentry-cleanup.yaml`:
Cleanup sentry data and vacuum the database (run once a day by AWX).
- `actions/update.yaml`:
Update all systems