mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-09-08 21:27:36 +02:00
build
This commit is contained in:
@@ -77,6 +77,18 @@
|
|||||||
group: "{{ ansible_user_id }}"
|
group: "{{ ansible_user_id }}"
|
||||||
mode: '0600'
|
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
|
- name: Create apt proxy file
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
dest: /etc/apt/apt.conf.d/02proxy
|
dest: /etc/apt/apt.conf.d/02proxy
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ aliases:
|
|||||||
ll: "ls -la"
|
ll: "ls -la"
|
||||||
gs: "git status"
|
gs: "git status"
|
||||||
k: "kubectl"
|
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
|
use_local_repo: true
|
||||||
net_driver: calico
|
net_driver: calico
|
||||||
|
|||||||
Reference in New Issue
Block a user