mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 06:58:34 +01:00
feat: slapd via slapcat backup
This commit is contained in:
@@ -24,3 +24,19 @@
|
||||
src: check_dir_size_for_backup.py
|
||||
dest: /opt/check_dir_size_for_backup.py
|
||||
mode: 0755
|
||||
|
||||
- name: Create sheppy .ssh dir
|
||||
file:
|
||||
path: /home/sheppy/.ssh/
|
||||
state: directory
|
||||
owner: sheppy
|
||||
group: sheppy
|
||||
mode: 0700
|
||||
|
||||
- name: Template Sheppy authorized keys
|
||||
template:
|
||||
src: authorized_keys_sheppy.j2
|
||||
dest: /home/sheppy/.ssh/authorized_keys
|
||||
owner: sheppy
|
||||
group: sheppy
|
||||
mode: 0600
|
||||
|
||||
Reference in New Issue
Block a user