Initialer Import der Synology Scripts
This commit is contained in:
Executable
+18
@@ -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"
|
||||
Reference in New Issue
Block a user