first commit

This commit is contained in:
root
2024-07-12 12:58:40 +02:00
commit 30fdad3be5
557 changed files with 11142 additions and 0 deletions

21
windows_facts.yml Normal file
View File

@@ -0,0 +1,21 @@
---
- name: get facts
become: true
become_method: runas
hosts: all
gather_facts: false
tasks:
# - name: run the setup facts
# ansible.builtin.setup:
- name: try command
ansible.windows.win_command: powershell.exe -
args:
stdin: Get-DnsClientServerAddress | select ServerAddresses -First 1
register: command_out
ignore_errors: true
- name: show dns configs
debug:
var: command_out.stdout