mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-10-28 05:07:06 +01:00
build
This commit is contained in:
1 parent
3b35daafe6
commit
6b4e125c1e
1 file changed
+2
-6
@@ -63,7 +63,7 @@
|
||||
|
||||
- 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
|
||||
|
||||
Reference in new issue
Block a user