From 3b043ad2141526f504774413615852fa441cc7b9 Mon Sep 17 00:00:00 2001 From: vincent Date: Tue, 26 Jul 2022 20:51:14 +0200 Subject: [PATCH] add custom ssh host --- group_vars/all/all | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/group_vars/all/all b/group_vars/all/all index 679423a..7eb77f3 100644 --- a/group_vars/all/all +++ b/group_vars/all/all @@ -24,3 +24,11 @@ privatekeytodeploy: - user: root keyfile: /root/.ssh/id_gitea privatekey: "{{lookup('hashi_vault', 'secret=secrets/data/ansible/privatekey:gitea')}}" + +system_ssh_custom_host: + - host: git.ducamps.win + user: git + keyfile: ~/.ssh/id_gitea + - host: gitlab.com + user: git + keyfile: ~/.ssh/id_consort