20 lines
460 B
YAML
20 lines
460 B
YAML
---
|
||
- name: Install SSH config
|
||
ansible.builtin.copy:
|
||
src: files/ssh_config
|
||
dest: ~/.ssh/config
|
||
mode: 0600
|
||
tags: ssh/config
|
||
|
||
- name: Install ‹.ssh/authorized_keys›
|
||
ansible.builtin.get_url:
|
||
url: https://gitlab.com/{{ gitlab_login }}.keys
|
||
dest: ~/.ssh/authorized_keys
|
||
mode: 0600
|
||
tags: ssh/authorized-keys
|
||
|
||
- name: Install ‹vssh› script
|
||
ansible.builtin.copy:
|
||
src: files/vssh
|
||
dest: ~/.local/bin/vssh
|
||
mode: 0640
|