From 6b4e125c1e573802a5bccd3c0c4dcc180cd35892 Mon Sep 17 00:00:00 2001 From: jaydee Date: Wed, 27 May 2026 12:35:11 +0200 Subject: [PATCH] build --- roles/kubernetes/tasks/Debian.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/roles/kubernetes/tasks/Debian.yml b/roles/kubernetes/tasks/Debian.yml index 93b6e53..ea38dae 100644 --- a/roles/kubernetes/tasks/Debian.yml +++ b/roles/kubernetes/tasks/Debian.yml @@ -60,10 +60,10 @@ ~ 'token=' ~ lookup('env', 'VAULT_TOKEN') ) }} - + - name: Store ssh key in file ansible.builtin.copy: - content: "{{ gitlab_private_key }}\n" + content: "{{ gitlab_private_key.ssh_private_key }}\n" dest: /home/{{ ansible_user_id }}/.ssh/id_ed25519_gitlab owner: "{{ ansible_user_id }}" group: "{{ ansible_user_id }}" @@ -71,16 +71,12 @@ - name: Store ssh key in file ansible.builtin.copy: - content: "{{ gitlab_public_key }}\n" + content: "{{ gitlab_public_key.ssh_public_key }}\n" dest: /home/{{ ansible_user_id }}/.ssh/id_ed25519_gitlab.pub owner: "{{ ansible_user_id }}" group: "{{ ansible_user_id }}" mode: '0600' - - name: Show password - ansible.builtin.debug: - var: gitlab_password.token - - name: Create apt proxy file ansible.builtin.copy: dest: /etc/apt/apt.conf.d/02proxy