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.

27 lines
723 B

  1. ---
  2. - name: Gather facts
  3. hosts: k8s_cluster:etcd:calico_rr
  4. gather_facts: False
  5. tags: always
  6. tasks:
  7. - name: Gather minimal facts
  8. setup:
  9. gather_subset: '!all'
  10. # filter match the following variables:
  11. # ansible_default_ipv4
  12. # ansible_default_ipv6
  13. # ansible_all_ipv4_addresses
  14. # ansible_all_ipv6_addresses
  15. - name: Gather necessary facts (network)
  16. setup:
  17. gather_subset: '!all,!min,network'
  18. filter: "ansible_*_ipv[46]*"
  19. # filter match the following variables:
  20. # ansible_memtotal_mb
  21. # ansible_swaptotal_mb
  22. - name: Gather necessary facts (hardware)
  23. setup:
  24. gather_subset: '!all,!min,hardware'
  25. filter: "ansible_*total_mb"