Initial gather_ipv4/exportfs build - testing
This commit is contained in:
13
playbooks/gather_ipv4.yml
Normal file
13
playbooks/gather_ipv4.yml
Normal 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
|
Reference in New Issue
Block a user