ansible/README.md
2023-12-05 18:12:35 +01:00

3.3 KiB

Ansible

Ansible tests to learn its concepts.

playbook/orochi.yml

  • Deploy add common usefulls (for me) on a new VM (conditional)
  • Update Debian's sources list with 'host release' version
  • Update all packages and upgrade the full system
  • Perform a clean installation of Docker (following specifications at date)
  • Cleanup & remove unused packages
  • Deploy my base VM managment tools
  • Run docker's Hello World! (conditional)
  • Run docker's Itzg Minecraft Server (conditional)
  • Deploy specified Docker Stacks (docker-compose.yml, .env & all required by each stack)

Changelog

2023-12-05

  • TDD
  • Updates for templates, vars, ...

2023-10-01

  • TDD
  • Bugfixes

2023-09-26

  • TDD
  • Bugfixes
  • Grab VM OS specifications for exposure
  • Stacks definition: monitoring-vm, monitoring-exporters

2023-09-24

  • TDD
  • Trash + Redo
  • Add some more doc

2023-09-23

  • TDD
  • docker-compose template: split single/multiple command(s) with a test (await a better solution)
  • Add some documentation
  • Bugfixes (founded when running stacks)

2023-09-25

  • TDD
  • Bugfixes
  • Rework on stacks folders organization

2023-09-19

  • TDD
  • Depot reinitialization due to error
  • Bugfixes after empty vm deployment

2023-09-12

  • TDD
  • Rework, refacto, variabilization
  • Factorize stack templates processing
  • Add SystemD services
  • Add users creation
  • Add the ability to append notice header in docker-compose
  • Add middleware option for traefik
  • Stacks definition: jekyll, registry, ntfy, ipfs

2023-09-11

  • TDD
  • Add stack name override (and defaulting network name to it in this case in docker-compose template)
  • Stacks definition: promtail, portainer-agent, monitoring-vm, portainer

2023-09-10

  • TDD
  • docker-compose template corrections
  • Minor updates on already defined stacks
  • Redesign of 'files' folder structure for each stack (conf/datas/template as services subfolders)
  • Stacks definition: drawio, flame, hastebin

2023-09-09

  • TDD
  • Reorder readme's changelog
  • Correct NTP setup (vs systemd-timesyncd)
  • Update OS/Familly conditionnal tasks
  • Adjust available stacks detection
  • Add system services managment
  • Rename template files

2023-09-08

  • TDD
  • Move Itzg from Orochi task to VM conditionnal stack
  • Rework + Refacto
  • Populate 'available.stacks'
  • Debug & corrections to docker-compose template
  • Stacks definition: adguardhome, adminer, aptcacherng, dl, homepage, itzg
  • Add jinja2.ext.do to jinja2_extensions in ansible.cfg

2023-09-07

  • TDD
  • Rework using roles
  • Split vm from docker
  • Enhancments for timezone, locale
  • Add ntp, hosts
  • Templating docker-compose.yml
  • Templating stacks
  • Stacks definition: dozzle, watchtower

2023-09-06

  • TDD
  • Refinements
  • Refactoring
  • Use of Vault
  • Improve VM base deployment

2023-09-05

  • TDD
  • Rework as concept
  • Refine folders
  • Templating
  • Add things to common
  • Add Itzg Minecraft Server

2023-09-01

  • TDD
  • Depot reinitialization due to corruption
  • Switch from organization to user
  • Playbook factorisation & simplication

2023-08-31

  • TDD
  • Switched connection from user/pass to ssh key
  • Updated playbook to enrich usefulls
  • Success to run the playbook :p
  • Using vault for some files

2023-08-30

  • First try to run playbok with failure :p