softplayer-ansible/playbooks/providers/hetzner
Nikolai Rodionov 50654bb0f6
ci/woodpecker/push/build Pipeline was successful Details
Some minor fixes
2024-05-08 10:33:37 +02:00
..
templates Add cloudflare support' 2024-05-03 18:34:26 +02:00
LICENSE Init commit 2024-03-28 18:29:07 +01:00
Makefile Init commit 2024-03-28 18:29:07 +01:00
README.md Init commit 2024-03-28 18:29:07 +01:00
playbook.yml Some minor fixes 2024-05-08 10:33:37 +02:00

README.md

hetzner-ansilbe-playbook

Repo for managing the Hetzner infrastructure

Removing stuff

Since the state of the config is the ansible code itself, you can't just remove something from the code and expect that it's going to be removed from Hetzner. Each entity has a variable state, to remove anything, you need to set state to absent and run the playbook. And only after that you can remove it from the code.

Also, please, create a git commit, where on object with the absent state is tracked.

Outputs

After running the role you'll see three variables being logged in the last step:

  • Server public IP -> It should be used for ssh connection to the server
  • Load balancer public IP -> It should be used by k8s as the load balancer IP
  • Volume device name -> It's the name of device that should be mounted to Longhorn

Notes

Resize the volume

Don't forget to resize the filesystem, it should be done manually