user löschen
This commit is contained in:
parent
07f81c7cd6
commit
686c683a00
|
@ -2,6 +2,7 @@
|
||||||
- name: ensure safe environment for exams
|
- name: ensure safe environment for exams
|
||||||
hosts: localhost
|
hosts: localhost
|
||||||
vars:
|
vars:
|
||||||
|
pruefungsanzeigename: "Abschlussprüfung 2024"
|
||||||
pruefungsuser: "pruefling"
|
pruefungsuser: "pruefling"
|
||||||
pruefungsgruppe: "prueflinge"
|
pruefungsgruppe: "prueflinge"
|
||||||
pruefungspasswort: "pruefung"
|
pruefungspasswort: "pruefung"
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
name: "{{ pruefungsuser }}"
|
name: "{{ pruefungsuser }}"
|
||||||
password: "{{ pruefungspasswort | password_hash('sha512') }}"
|
password: "{{ pruefungspasswort | password_hash('sha512') }}"
|
||||||
shell: /bin/bash
|
shell: /bin/bash
|
||||||
comment: Prüfungsbenutzer
|
comment: "{{ pruefungsanzeigename }}"
|
||||||
group: "{{ pruefungsgruppe }}"
|
group: "{{ pruefungsgruppe }}"
|
||||||
|
|
||||||
- name: create .config dir for created user
|
- name: create .config dir for created user
|
||||||
|
@ -29,7 +29,6 @@
|
||||||
state: absent
|
state: absent
|
||||||
remove: yes
|
remove: yes
|
||||||
loop:
|
loop:
|
||||||
- "pruefung"
|
- pruefung
|
||||||
- "pruefling"
|
- pruefling
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue