Skip to content

Latest commit

 

History

History
48 lines (28 loc) · 1012 Bytes

README.md

File metadata and controls

48 lines (28 loc) · 1012 Bytes

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