Initialer Import der Synology Scripts

This commit is contained in:
root
2026-08-05 08:43:57 +02:00
commit 5e32a7c411
404 changed files with 79932 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
---
- name: add non AD-GROUP
hosts: debian_vms
become: false #root berechtigung
tasks:
- name: add local user
user:
name: ansible
shell: /bin/bash
#mkpasswd --method=sha-512
password: ''
groups: sudo
- name: Add SSH paublic Key for User to the "authorized Keys" file
authorized_key:
user: ansible
key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOY9BjyR9eK0/BDgwp+1E5LZjd/92fEtH5CcRRlP7lWf"