refactor: перейти на ansible.posix.authorized_key, очищать ключ раннера и поддержать внешние секреты

This commit is contained in:
karpenok committed 2026-11-08 12:38:02 +07:00
1 parent 7ff2b00d27
commit 69e098415b
4 files changed
+12 -11

No files matched your search

+2
View File
@@ -47,8 +47,10 @@ jobs:
install -d -m 700 "${HOME}/.ssh"
printf '%s\n' "${RUNNER_SSH_KEY}" > "${HOME}/.ssh/id_ed25519"
chmod 600 "${HOME}/.ssh/id_ed25519"
trap 'rm -f "${HOME}/.ssh/id_ed25519"' EXIT
cd "${HOME}/homelab-infra"
ansible-galaxy collection install -r requirements.yml
ansible-playbook playbooks/site.yml \
-i inventories/prod/hosts.yml \