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

12 lines
289 B
YAML
Raw Normal View History

2022-10-28 10:28:41 +00:00
- hosts: windows
gather_facts: no
2022-10-28 10:28:41 +00:00
tasks:
- name: Refresh connection
ansible.builtin.meta: reset_connection
2022-10-28 10:28:41 +00:00
- name: Verify account
ansible.windows.win_ping:
vars:
ansible_user: "{{ account.username }}"
ansible_password: "{{ account.secret }}"