mirror of https://github.com/jumpserver/jumpserver
9 lines
204 B
YAML
9 lines
204 B
YAML
|
- hosts: windows
|
||
|
gather_facts: no
|
||
|
tasks:
|
||
|
- name: "Remove account"
|
||
|
ansible.windows.win_user:
|
||
|
name: "{{ account.username }}"
|
||
|
state: absent
|
||
|
purge: yes
|
||
|
force: yes
|