mirror of https://github.com/jumpserver/jumpserver
12 lines
261 B
YAML
12 lines
261 B
YAML
![]() |
- hosts: custom
|
||
|
gather_facts: no
|
||
|
vars:
|
||
|
ansible_connection: local
|
||
|
ansible_shell_type: sh
|
||
|
|
||
|
tasks:
|
||
|
- name: Test asset connection (telnet)
|
||
|
telnet_ping:
|
||
|
login_host: "{{ jms_asset.address }}"
|
||
|
login_port: "{{ jms_asset.port }}"
|