Restrict (and create) .ssh directory
This commit is contained in:
parent
e2219f90b3
commit
8938973461
1 changed files with 8 additions and 0 deletions
|
@ -11,6 +11,14 @@
|
|||
- 'wireguard-arch'
|
||||
- 'wireguard-tools'
|
||||
|
||||
- name: Create .ssh directory
|
||||
file:
|
||||
state: directory
|
||||
path: "{{ home }}/.ssh"
|
||||
owner: "{{ user }}"
|
||||
mode: 0700
|
||||
directory_mode: 0700
|
||||
|
||||
- name: Install assh config
|
||||
copy:
|
||||
src: ./files/assh.yml
|
||||
|
|
Loading…
Reference in a new issue