This is a draft build.

Draft Go Devops Yourself

January 19, 2038

How to Use Ansible to Provision, Backup and Restore a developer machine.

Preparation

  • prepare provisioning
  • copy secrets (ssh + gpg keys)

Provisioning

  • install packages, add PPAs
  • add user to groups (docker, kvm)
  • setup docker containers for local infrastructure
  • configure alternatives (java)
  • install global node modules
  • vs code extensions
  • install packages via direct download (zoom)
  • configure terminal – install shell packages – chsh – setup env vars – config files (fish functions)

Backup

As some programs aren’t built to be configured via command line and their configuration might be stored in ways that aren’t expected to be put in a git repository

Restore

The same as backup, but in reverse.