You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
552 B

  1. ---
  2. - name: Gather facts
  3. hosts: k8s-cluster:etcd:calico-rr
  4. gather_facts: False
  5. tasks:
  6. - name: Gather minimal facts
  7. setup:
  8. gather_subset: '!all'
  9. - name: Gather necessary facts
  10. setup:
  11. gather_subset: '!all,!min,network,hardware'
  12. filter: "{{ item }}"
  13. loop:
  14. - ansible_distribution_major_version
  15. - ansible_default_ipv4
  16. - ansible_default_ipv6
  17. - ansible_all_ipv4_addresses
  18. - ansible_all_ipv6_addresses
  19. - ansible_memtotal_mb
  20. - ansible_swaptotal_mb