mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-10-28 13:07:06 +01:00
build
This commit is contained in:
1 parent
a00ddb0217
commit
4fefd8fdb7
1 file changed
+4
-4
@@ -59,7 +59,7 @@
|
||||
- name: Update APT cache
|
||||
ansible.builtin.apt:
|
||||
update_cache: true
|
||||
|
||||
|
||||
- name: Install Vault
|
||||
apt:
|
||||
name: vault
|
||||
@@ -157,9 +157,9 @@
|
||||
user = "ansible"
|
||||
group = "ansible"
|
||||
contents = <<EOH
|
||||
{{ with secret "ssh/sign/admin" (printf "public_key=%s" (trimSpace (file "/home/ansible/.ssh/id_ed25519.pub"))) "valid_principals=ansible" }}
|
||||
{{ .Data.signed_key }}
|
||||
{{ end }}
|
||||
{{ '{{' }} with secret "ssh/sign/admin" (printf "public_key=%s" (trimSpace (file "/home/ansible/.ssh/id_ed25519.pub"))) "valid_principals=ansible" {{ '}}' }}
|
||||
{{ '{{' }} .Data.signed_key {{ '}}' }}
|
||||
{{ '{{' }} end {{ '}}' }}
|
||||
EOH
|
||||
}
|
||||
owner: root
|
||||
|
||||
Reference in new issue
Block a user