Patrick de Ruiter 47aaaa2143
Initial commit: Terraform certificate automation module
- Add Vault AppRole and Ansible integration for certificates
- Configure policies and secret engines
- Add comprehensive documentation
2025-11-01 06:18:46 +01:00

13 lines
231 B
Smarty
Executable File

#!/usr/bin/env bash
#
echo "Setting SSH Key"
#
ssh-add ~/.ssh/id_ed25519
#
echo "Adding vsphere nodes hostnames to known hosts"
%{ for hostname in vsphere_vm_name ~}
ssh-keyscan -H ${hostname} >> ~/.ssh/known_hosts
%{ endfor ~}