You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Sven Ketelsen 4b8ea52d05 feat: setup connect servers 5 years ago
group_vars feat: setup connect servers 5 years ago
host_vars feat: setup servers on hetzner cloud 5 years ago
keys feat: setup servers on hetzner cloud 5 years ago
roles feat: setup connect servers 5 years ago
templates feat: setup connect servers 5 years ago
.gitignore chore: cleanup 5 years ago
README.md feat: setup connect servers 5 years ago
provisioning.yml feat: setup prometheus stack 5 years ago
setup.yml chore: setup docker-registry 5 years ago
smardigo.yml feat: setup prometheus stack 5 years ago
stage-dev feat: setup prometheus stack 5 years ago
start.yml feat: setup servers on hetzner cloud 5 years ago
stop.yml feat: setup servers on hetzner cloud 5 years ago

README.md

Prepare ansible Installation

Install ansible with Python.

pip3 install ansible

Install library jmespath (https://jmespath.org/). Will be used to parse JSON data.

pip3 install jmespath

Install ansible role for managing hetzner cloud servers.

pip3 install hcloud
ansible-galaxy collection install hetzner.hcloud
ansible-galaxy collection install community.general

Setup

Create/Start servers for stage-dev

ansible-playbook -i stage-dev provisioning.yml --vault-password-file ~/vault-pass
ansible-playbook -i stage-dev start.yml --vault-password-file ~/vault-pass
ansible-playbook -i stage-dev stop.yml --vault-password-file ~/vault-pass

Provisioning

ansible-playbook -i stage-dev setup.yml --vault-password-file ~/vault-pass -u root

TODO

212.121.131.106 - Siemansdamm - IPFire