Dancing with Ansible

This page will outline some of the projects I’ve been working on, keeping it simple, to the point, and identifying things that can be expanded upon if needed.

The goal is not to make the most perfect ansible code you’ve ever seen, it’s to focus on what is needed, and use / expand on those pieces and you grow your project.

This will remain as an outline until I go through and start building out each of the sections. This will be primarily Linux focused, though Windows may be added in time.

The Basics (vaguely know how to do this and you can proceed)

  • Installing Ansible
  • Building an inventory
  • Authorizing Clients
  • Making a Playbook
  • Performing OS Upgrades
  • Installing Apps
  • Standardizing Time Zones
  • Installing modules from ansible-galaxy

LXD: The VMWare Killer

(Well, actually Broadcom is the VMWare killer, but LXD is pretty kick ass, if limited in some ways)

  • Connecting to LXD via ansible
  • Collecting LXD Inventory
  • Configuring LXD Hosts
    • Configure Backup Target Mounts
    • Enable Required Kernel Modules for Proxying
    • Enabled required packages for nested containers (IE: Enable Docker within containers)
  • Authorizing LXD containers

Docker in LXD (Yes they have overlap, and yes they work well together)

  • Enabling Nested Containers on LXD container (Only works if LXD host is configured with required config)
  • Installing Docker
  • Installing Docker Compose

Building MotionEye Security Cameras

Building WordPress (With the ability to spin up additional wordpress instances)

  • Downloading latest wordpress media
  • Installing pre-requisits
  • Installing recommend software packages
  • Extracting wordpress to the target directory

NGINX (Hey, we have to proxy those WordPress instances now don’t we?)

MariaDB

  • Install MariaDB pre-reqs
  • Get MariaDB Repo
  • Install MariaDB
  • Install phpMyAdmin