blob: fb1e8ca43d3b77bfac66fdd8d59442ebc08397ba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
- name: Setup SSH directory for Dmitry Ilvokhin
ansible.builtin.file:
path: /home/d/.ssh
state: directory
owner: d
group: d
mode: u+rw,g-wx,o-rwx
tags:
- dotfiles
- name: Update authorized_keys for Dmitry Ilvokhin
ansible.posix.authorized_key:
user: d
state: present
key: "{{ lookup('file', item) }}"
with_fileglob:
- misc/pubkeys/*.pub
tags:
- dotfiles
- name: Configure ssh for Dmitry Ilvokhin
ansible.builtin.include_role:
name: sshconfig
tags:
- dotfiles
|