snapshot
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
---
|
||||
- name: "Debug | Ping hosts"
|
||||
hosts: all
|
||||
gather_facts: false
|
||||
|
||||
tasks:
|
||||
- name: "Windows | WinRM ping"
|
||||
when: ansible_connection | default('') == 'winrm'
|
||||
ansible.windows.win_ping:
|
||||
|
||||
- name: "Linux | Ansible ping"
|
||||
when: ansible_connection | default('ssh') != 'winrm'
|
||||
ansible.builtin.ping:
|
||||
Reference in New Issue
Block a user