From da956e8ddd863263faec6ecfb7b052893504d716 Mon Sep 17 00:00:00 2001 From: Jose Date: Sun, 2 Nov 2025 10:10:17 +0100 Subject: [PATCH] =?UTF-8?q?style=20=F0=9F=92=8E:=20Update=20container=20pu?= =?UTF-8?q?bkey=20to=20use=20first=20key=20from=20list?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed the way the container public key is set in setupacdc.yml, now it uses the first key from the ssh_public_keys list instead of all keys. This change improves consistency and reduces potential security risks. --- tasks/setupacdc.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/setupacdc.yml b/tasks/setupacdc.yml index 6b26596..7f1076d 100644 --- a/tasks/setupacdc.yml +++ b/tasks/setupacdc.yml @@ -25,7 +25,7 @@ container_onboot: 1 container_protection: 0 container_unprivileged: 1 - container_pubkey: "{{ ssh_public_keys }}" + container_pubkey: "{{ ssh_public_keys[0] }}" container_tags: - ansible_managed - test