perf: windows 账号可连接性 ansible 刷新 (#10268)

Co-authored-by: feng <1304903146@qq.com>
pull/10269/head
fit2bot 2023-04-20 11:32:33 +08:00 committed by GitHub
parent dc5f7a5c05
commit c9ee46c0fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,9 @@
- hosts: windows
gather_facts: no
tasks:
- name: Refresh connection
ansible.builtin.meta: reset_connection
- name: Verify account
ansible.windows.win_ping:
vars:

View File

@ -1,5 +1,8 @@
- hosts: windows
gather_facts: no
tasks:
- name: Refresh connection
ansible.builtin.meta: reset_connection
- name: Windows ping
ansible.builtin.win_ping: