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.
|
|
5 years ago | |
|---|---|---|
| docker/dregsy | 5 years ago | |
| group_vars | 5 years ago | |
| host_vars | 5 years ago | |
| roles | 5 years ago | |
| templates | 5 years ago | |
| users | 5 years ago | |
| .gitignore | 5 years ago | |
| README.md | 5 years ago | |
| dynamic-provisioning.yml | 5 years ago | |
| elastic-certs.sh | 5 years ago | |
| networks.yml | 5 years ago | |
| provisioning.yml | 5 years ago | |
| setup.yml | 5 years ago | |
| smardigo.yml | 5 years ago | |
| stage-dev | 5 years ago | |
| start.yml | 5 years ago | |
| stop.yml | 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
ansible-playbook dynamic-provisioning.yml --vault-password-file ~/vault-pass -e "stage=dev name=test node=01 service=connect"
TODO
212.121.131.106 - Siemansdamm - IPFire
Keykloak Read Flow for Docker Get ID by 'docker auth' Update Client 'docker-registry' Download Installation Docker-Registry Use Installation from Keycloak Client 'docker-registry' Prometheus (Grafana) docker exec -i df4d6b176f5e sh -c 'grafana-cli plugins install grafana-piechart-panel' docker restart df4d6b176f5e