mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-09-09 05:37:35 +02:00
build
This commit is contained in:
@@ -77,6 +77,18 @@
|
||||
group: "{{ ansible_user_id }}"
|
||||
mode: '0600'
|
||||
|
||||
- name: Configure SSH for GitLab
|
||||
ansible.builtin.blockinfile:
|
||||
path: "{{ ansible_env.HOME }}/.ssh/config"
|
||||
create: yes
|
||||
mode: '0600'
|
||||
block: |
|
||||
Host gitlab.sectorq.eu
|
||||
HostName gitlab.sectorq.eu
|
||||
User git
|
||||
IdentityFile {{ ansible_env.HOME }}/.ssh/id_ed25519_gitlab
|
||||
IdentitiesOnly yes
|
||||
|
||||
- name: Create apt proxy file
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/apt/apt.conf.d/02proxy
|
||||
|
||||
Reference in New Issue
Block a user