This commit is contained in:
2026-05-27 14:07:54 +02:00
parent 27f719b2a8
commit 48724ce217
2 changed files with 13 additions and 1 deletions
+12
View File
@@ -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
+1 -1
View File
@@ -3,7 +3,7 @@ aliases:
ll: "ls -la"
gs: "git status"
k: "kubectl"
gk: "GIT_SSH_COMMAND=\"ssh -i ~/.ssh/id_ed25519_gitlab\" git clone git@gitlab.sectorq.eu:jaydee/kubernetes.git"
gk: "git clone git@gitlab.sectorq.eu:jaydee/kubernetes.git"
use_local_repo: true
net_driver: calico