add ansible key
This commit is contained in:
parent
58d55cb486
commit
b33438b434
@ -18,3 +18,7 @@ privatekeytodeploy:
|
|||||||
- user: root
|
- user: root
|
||||||
keyfile: /root/.ssh/id_gitea
|
keyfile: /root/.ssh/id_gitea
|
||||||
privatekey: "{{lookup('hashi_vault', 'secret=secrets/data/ansible/privatekey: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')}}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user