Migrate to Hetzner cloud

This commit is contained in:
Paul-Henri Froidmont 2019-08-22 05:11:27 +02:00
parent d3c99dad0b
commit c311cd4f7e
37 changed files with 416 additions and 299 deletions

View file

@ -0,0 +1,13 @@
{
"url": "https://api.hetzner.cloud/v1/floating_ips/{}/actions/assign",
"api-token": "{{ hcloud_token_vip }}",
"ips": [
{
"floating-ip-id": "{{ floating_ip_id }}",
"floating-ip": "{{ floating_ip }}"
}
],
"server-id": {{ hostvars[inventory_hostname]['id'] }},
"interface": "eth0",
"ip_bin_path": "/bin/ip"
}