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

9 lines
213 B
YAML

- hosts: windows
gather_facts: yes
tasks:
- name: Verify account
ansible.windows.win_ping:
vars:
ansible_user: "{{ account.username }}"
ansible_password: "{{ account.secret }}"