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