jumpserver/apps/accounts/automations/remove_account/host/windows/main.yml

7 lines
166 B
YAML

- hosts: windows
gather_facts: no
tasks:
- name: "Remove account"
ansible.windows.win_user:
name: "{{ account.username }}"
state: absent