This commit is contained in:
jaydee committed 2026-10-13 01:27:33 +02:00
1 parent a00ddb0217
commit 4fefd8fdb7
1 file changed
+4 -4
+4 -4
View File
@@ -59,7 +59,7 @@
- name: Update APT cache - name: Update APT cache
ansible.builtin.apt: ansible.builtin.apt:
update_cache: true update_cache: true
- name: Install Vault - name: Install Vault
apt: apt:
name: vault name: vault
@@ -157,9 +157,9 @@
user = "ansible" user = "ansible"
group = "ansible" group = "ansible"
contents = <<EOH contents = <<EOH
{{ with secret "ssh/sign/admin" (printf "public_key=%s" (trimSpace (file "/home/ansible/.ssh/id_ed25519.pub"))) "valid_principals=ansible" }} {{ '{{' }} with secret "ssh/sign/admin" (printf "public_key=%s" (trimSpace (file "/home/ansible/.ssh/id_ed25519.pub"))) "valid_principals=ansible" {{ '}}' }}
{{ .Data.signed_key }} {{ '{{' }} .Data.signed_key {{ '}}' }}
{{ end }} {{ '{{' }} end {{ '}}' }}
EOH EOH
} }
owner: root owner: root