Go to file
2023-09-25 10:41:45 +02:00
inventory Trash + Redo 2023-09-25 10:40:20 +02:00
logs Trash + Redo 2023-09-25 10:40:20 +02:00
playbook Trash + Redo 2023-09-25 10:40:20 +02:00
roles Trash + Redo 2023-09-25 10:40:20 +02:00
.gitignore Actualiser .gitignore 2023-09-25 10:29:10 +02:00
ansible.cfg Trash + Redo 2023-09-25 10:40:20 +02:00
LICENSE Trash + Redo 2023-09-25 10:32:21 +02:00
README.md Trash + Redo 2023-09-25 10:41:45 +02:00

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-09-25

  • TDD
  • Trash + Redo

2023-09-25

  • 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-25

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

2023-09-25

  • 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-25

  • 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-25

  • 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-25

  • 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-25

  • 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-25

  • 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-25

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

2023-09-25

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

2023-09-25

  • 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