maquintoch / infrastructure

Ansible playbooks and Terraform code for my environment and infrastructure.

Home Page:https://github.com/BeryJu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

About

Ansible playbooks and Terraform code for my environment and infrastructure.

https://github.com/BeryJu


Languages

Language:HCL 72.1%Language:JavaScript 13.1%Language:Dockerfile 6.3%Language:Shell 4.2%Language:Jinja 2.1%Language:Python 2.1%Language:Makefile 0.2%