This commit is contained in:
2026-05-27 12:35:11 +02:00
parent 3b35daafe6
commit 6b4e125c1e
+3 -7
View File
@@ -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