Updated with proper linting and verifications
This commit is contained in:
1 parent
3dc6e55e6f
commit
ac135ec5a3
12 files changed
+82
-69
No files matched your search
@@ -0,0 +1,14 @@
|
||||
---
|
||||
- name: All Servers Test Windows Connectivity And Output Facts
|
||||
hosts: all
|
||||
gather_facts: true
|
||||
tasks:
|
||||
- name: Ping The Windows Hosts
|
||||
ansible.windows.win_ping:
|
||||
- name: Export Facts
|
||||
ansible.builtin.copy:
|
||||
mode: "0644"
|
||||
content: "{{ ansible_facts | to_nice_json }}"
|
||||
dest: "{{ playbook_dir }}../facts/{{ inventory_hostname }}.json"
|
||||
delegate_to: localhost
|
||||
tags: ["never", "debug"]
|
||||
Reference in new issue
Block a user