mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-10-28 13:07:06 +01:00
build
This commit is contained in:
1 parent
27f719b2a8
commit
48724ce217
2 files changed
+13
-1
No files matched your search
@@ -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