Initial gather_ipv4/exportfs build - testing

This commit is contained in:
2025-02-21 18:16:50 -05:00
parent 42f4a94685
commit 769a91ccd1
8 changed files with 111 additions and 16 deletions

13
playbooks/gather_ipv4.yml Normal file
View File

@ -0,0 +1,13 @@
---
- name: Gather IPv4 Addresses
hosts: all
gather_facts: true
become: false
tasks:
- name: Set stats
ansible.builtin.set_stats:
data:
ip_addresses: "{{ ansible_all_ipv4_addresses }}"
server_hostname: "{{ ansible_hostname }}"
aggregate: true