2024-03-10 14:46:27 +00:00
|
|
|
# softplayer-ansible
|
|
|
|
|
2024-03-28 17:29:07 +00:00
|
|
|
## Hetzner
|
|
|
|
|
|
|
|
There must be 3 kinds of playbooks:
|
|
|
|
- Bootstrap
|
|
|
|
- Maintenance
|
|
|
|
- Cleanup
|
|
|
|
|
|
|
|
Bootstrap playbooks should only be executed when a new environment is created, for example, it should
|
|
|
|
|
|
|
|
1. Prepare the cloud infrastructure
|
|
|
|
2. Install setup nodes
|
|
|
|
3. Bootstrap a k3s cluster
|
|
|
|
4. Create an admin k8s config
|
|
|
|
|
|
|
|
Cleanup should simply remove the whole cloud infrastructure
|