1
0
mirror of https://github.com/jumpserver/jumpserver.git synced 2025-05-14 19:12:00 +00:00
jumpserver/apps/accounts/automations/verify_account/custom/rdp/main.yml
fit2bot bfd77aa1b0
feat: automation windows pyrdp ping ()
* feat: automation windows pyrdp ping

* perf: add pyfreerdp deps

---------

Co-authored-by: feng <1304903146@qq.com>
Co-authored-by: Eric <xplzv@126.com>
2023-06-07 17:28:35 +08:00

15 lines
427 B
YAML

- hosts: custom
gather_facts: no
vars:
ansible_connection: local
tasks:
- name: Verify account
ssh_ping:
login_host: "{{ jms_asset.address }}"
login_port: "{{ jms_asset.port }}"
login_user: "{{ account.username }}"
login_password: "{{ account.secret }}"
login_secret_type: "{{ account.secret_type }}"
login_private_key_path: "{{ account.private_key_path }}"