- ansible
- Install debian on a host
- Adjust the ip address in section
[vault-server]
inside the ansible inventoryinventory/hosts.ini
to the debian host ip - To configure the new vault-server, execute the following command
ansible-playbook setup-vault-server.yml -k -K -u <user> --become-method su
- Install debian on a host
- Adjust the ip addresses in section
[vault-agents]
inside the ansible inventoryinventory/hosts.ini
. Append the new debian host ip and remove unused ip addresses. - To configure the new vault-agent, execute the following command
ansible-playbook setup-vault-agents.yml -k -K -u <user> --become-method su
Repeat these steps so that you have at least two agents that can communicate with each other through a wireguard tunnel.