ansible-playbooks

another attempt to have everything organized ...
git clone https://git.e1e0.net/ansible-playbooks.git
Log | Files | Refs | README | LICENSE

commit da18321ec47e63c1b36dcf658633d9977848afe2
parent 9d5b15e5647402d3e905e47e9766c64c5898a665
Author: Paco Esteban <paco@e1e0.net>
Date:   Fri,  1 May 2020 15:07:52 +0200

terraform jitsi: include internal ssh key

Diffstat:
Mterraform/jitsi/main.tf | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/terraform/jitsi/main.tf b/terraform/jitsi/main.tf @@ -2,9 +2,12 @@ provider "hcloud" {} # ssh key data -data "hcloud_ssh_key" "ssh_key" { +data "hcloud_ssh_key" "ssh_key_yubi" { fingerprint = "d6:67:da:6a:cc:73:24:14:d5:98:af:6d:41:91:92:4c" } +data "hcloud_ssh_key" "ssh_key_int" { + fingerprint = "1e:ab:c9:e0:9d:b0:2a:93:5c:f6:d2:16:44:5b:2e:ad" +} # The server itself resource "hcloud_server" "jitsi" { @@ -12,7 +15,7 @@ resource "hcloud_server" "jitsi" { image = "debian-10" server_type = "cx11" location = "fsn1" - ssh_keys = ["${data.hcloud_ssh_key.ssh_key.id}"] + ssh_keys = ["${data.hcloud_ssh_key.ssh_key_yubi.id}", "${data.hcloud_ssh_key.ssh_key_int.id}"] } # reverse dns