tecnativa.hetzner_rescue_installimage
Hetzner Rescue Installimage
Automatically set up your new Docker servers in just a few minutes.
Requirements
- This process is only for Hetzner servers.
- The Hetzner server must be started in rescue mode. New servers do this by default.
Warnings
- Using this setup will erase all data on the server's disks.
Role Variables
You can find the default values and their explanations in defaults/main.yml.
Example Playbook
It's best to keep this playbook separate from your main site.yml, as it's intended only for installing new servers. You don't want it to run multiple times or in other contexts.
You can name it hetzner-install.yml:
- hosts: "{{ target }}"
roles:
- role: tecnativa.hetzner_rescue_installimage
vars:
# Disable SSH checking; it's usually not needed here.
# This isn't done automatically because it's not very secure.
ansible_ssh_extra_args:
-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no
# This is just an example. You can define other variables here.
swraid_level: 1
Now you can run it:
ansible-playbook hetzner-install.yml -e target="$NEW_SERVER"
Support
- :octocat: GitHub project.
- Install from Ansible Galaxy.
- Hetzner Installimage project.
- Instructions for Hetzner rescue system.
License
Apache 2.
Author Information
This project is maintained by:
Tecnativa is an IT consulting company that specializes in Odoo. They offer services for Odoo development, installation, maintenance, and hosting.

