mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-09-08 21:27:36 +02:00
build
This commit is contained in:
@@ -60,10 +60,10 @@
|
|||||||
~ 'token=' ~ lookup('env', 'VAULT_TOKEN')
|
~ 'token=' ~ lookup('env', 'VAULT_TOKEN')
|
||||||
)
|
)
|
||||||
}}
|
}}
|
||||||
|
|
||||||
- name: Store ssh key in file
|
- name: Store ssh key in file
|
||||||
ansible.builtin.copy:
|
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
|
dest: /home/{{ ansible_user_id }}/.ssh/id_ed25519_gitlab
|
||||||
owner: "{{ ansible_user_id }}"
|
owner: "{{ ansible_user_id }}"
|
||||||
group: "{{ ansible_user_id }}"
|
group: "{{ ansible_user_id }}"
|
||||||
@@ -71,16 +71,12 @@
|
|||||||
|
|
||||||
- name: Store ssh key in file
|
- name: Store ssh key in file
|
||||||
ansible.builtin.copy:
|
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
|
dest: /home/{{ ansible_user_id }}/.ssh/id_ed25519_gitlab.pub
|
||||||
owner: "{{ ansible_user_id }}"
|
owner: "{{ ansible_user_id }}"
|
||||||
group: "{{ ansible_user_id }}"
|
group: "{{ ansible_user_id }}"
|
||||||
mode: '0600'
|
mode: '0600'
|
||||||
|
|
||||||
- name: Show password
|
|
||||||
ansible.builtin.debug:
|
|
||||||
var: gitlab_password.token
|
|
||||||
|
|
||||||
- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user