Compare commits
No commits in common. "f183e49b46ecfa8e42303a45c47c9b8a7f44d813" and "d0896b2accadbd52cb95fdef41003c78b23b05fd" have entirely different histories.
f183e49b46
...
d0896b2acc
9 changed files with 7 additions and 9 deletions
|
@ -1,2 +0,0 @@
|
|||
---
|
||||
server_user: skulladmin
|
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
- name: Benutzer anlegen (falls nicht vorhanden)
|
||||
ansible.builtin.user:
|
||||
name: "{{ ssh_user }}"
|
||||
shell: /bin/bash
|
||||
create_home: true
|
|
@ -1,5 +1,5 @@
|
|||
# Standard-SSH-Benutzer
|
||||
ssh_user: "{{ server_user | default('skulladmin') }}"
|
||||
ssh_user: skulladmin
|
||||
|
||||
# Platzhalter-Key
|
||||
ssh_auth_keys_url: "https://skulldev.de/Skull-IT/trusted-ssh-keys/raw/branch/main/trusted-ssh-keys"
|
||||
|
|
|
@ -14,6 +14,12 @@
|
|||
name: openssh-server
|
||||
state: present
|
||||
|
||||
- name: Benutzer anlegen (falls nicht vorhanden)
|
||||
ansible.builtin.user:
|
||||
name: "{{ ssh_user }}"
|
||||
shell: /bin/bash
|
||||
create_home: true
|
||||
|
||||
- name: SSH-Verzeichnis anlegen
|
||||
ansible.builtin.file:
|
||||
path: "/home/{{ ssh_user }}/.ssh"
|
||||
|
|
Loading…
Add table
Reference in a new issue