2020-04-17 23:23:36 +00:00
|
|
|
---
|
|
|
|
- name: Gather facts
|
|
|
|
hosts: k8s-cluster:etcd:calico-rr
|
|
|
|
gather_facts: False
|
|
|
|
tasks:
|
|
|
|
- name: Gather minimal facts
|
|
|
|
setup:
|
|
|
|
gather_subset: '!all'
|
|
|
|
|
|
|
|
- name: Gather necessary facts
|
|
|
|
setup:
|
|
|
|
gather_subset: '!all,!min,network,hardware'
|
|
|
|
filter: "{{ item }}"
|
|
|
|
loop:
|
|
|
|
- ansible_distribution_major_version
|
|
|
|
- ansible_default_ipv4
|
2020-11-03 07:12:36 +00:00
|
|
|
- ansible_default_ipv6
|
2020-04-17 23:23:36 +00:00
|
|
|
- ansible_all_ipv4_addresses
|
2020-11-03 07:12:36 +00:00
|
|
|
- ansible_all_ipv6_addresses
|
2020-04-17 23:23:36 +00:00
|
|
|
- ansible_memtotal_mb
|
|
|
|
- ansible_swaptotal_mb
|