Giter VIP home page Giter VIP logo

ansible-hetzner-installimage's Introduction

Hetzner Installimage Ansible Role



Ansible role for re-installing OS on Hetzner dedicated servers using Hetzner APIs and InstallImage

Introduction

Hetzner offers dedicated servers ranging from cheap i7, AMD to high performance Xeon processors. They offer a rescue system for reinstalling the OS, configure the basics like partitions, RAID and SSH keys. A webservice can be used to reboot servers, activate the rescue system, perform network setup and many others operations.

Requirements & Dependencies

Hetzner

PS: make sure that you the default port 22 is accesible from your machine (ex: whitelisted in the hetzner firewall)

Ansible

This role was tested against Ansible version 2.7 2.8 2.9 2.10

Variables

For a full reference of the configuration variables checl defaults/main.yml. The required variables are:

robotws_user: username
robotws_password: password

image:
  distro: ubuntu
  version: 20.04

Example

# inventory
[servers]
1.2.3.4 hostname=node1
node2.example.com
# playbook.yml
- hosts: servers
  roles:
    - mariancraciun1983.hetzner_install_image
# install the role
ansible-galaxy install mariancraciun1983.hetzner_install_image
# run the playbook
ansible-playbook -i inventory playbook.yml

License

MIT License

ansible-hetzner-installimage's People

Contributors

mariancraciun1983 avatar warpet avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.