remove user creation. Move to new role
This commit is contained in:
parent
d80d2bb301
commit
f183e49b46
1 changed files with 0 additions and 6 deletions
|
@ -14,12 +14,6 @@
|
||||||
name: openssh-server
|
name: openssh-server
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Benutzer anlegen (falls nicht vorhanden)
|
|
||||||
ansible.builtin.user:
|
|
||||||
name: "{{ ssh_user }}"
|
|
||||||
shell: /bin/bash
|
|
||||||
create_home: true
|
|
||||||
|
|
||||||
- name: SSH-Verzeichnis anlegen
|
- name: SSH-Verzeichnis anlegen
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "/home/{{ ssh_user }}/.ssh"
|
path: "/home/{{ ssh_user }}/.ssh"
|
||||||
|
|
Loading…
Add table
Reference in a new issue