feat: introduce GitLab login variable

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2023-09-16 23:07:20 +02:00
parent e5b555c577
commit 7505e307fb
Signed by: mfocko
GPG key ID: 7C47D46246790496
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,7 @@
---
all:
vars:
gitlab_login: "mfocko"
target_user: "mfocko"
fullname: "Matej Focko"
git_email: "me@mfocko.xyz"

View file

@ -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