feat: introduce GitLab login variable
Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
e5b555c577
commit
7505e307fb
2 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
all:
|
||||
vars:
|
||||
gitlab_login: "mfocko"
|
||||
target_user: "mfocko"
|
||||
fullname: "Matej Focko"
|
||||
git_email: "me@mfocko.xyz"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
- name: Install ‹.ssh/authorized_keys›
|
||||
ansible.builtin.get_url:
|
||||
url: https://gitlab.com/mfocko.keys
|
||||
url: https://gitlab.com/{{ gitlab_login }}.keys
|
||||
dest: ~/.ssh/authorized_keys
|
||||
mode: 0600
|
||||
tags: ssh/authorized-keys
|
||||
|
|
Loading…
Reference in a new issue