From b33438b434e92bd1501c1748a03dc05026916103 Mon Sep 17 00:00:00 2001 From: vincent Date: Fri, 11 Nov 2022 20:51:05 +0100 Subject: [PATCH] add ansible key --- ansible/group_vars/all/all | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ansible/group_vars/all/all b/ansible/group_vars/all/all index 4647e85..b77f201 100644 --- a/ansible/group_vars/all/all +++ b/ansible/group_vars/all/all @@ -18,3 +18,7 @@ privatekeytodeploy: - user: root keyfile: /root/.ssh/id_gitea privatekey: "{{lookup('hashi_vault', 'secret=secrets/data/ansible/privatekey:gitea')}}" + - user: ansible + keyfile: "/home/ansible/.ssh/id_gitea" + privatekey: "{{lookup('hashi_vault', 'secret=secrets/data/ansible/privatekey:gitea')}}" +