As you will have already guessed, this module, like the other facts modules, is used to gather facts on the firewall configuration of all of the hosts within our cluster:
- name: Get facts on all cluster hosts vmware_host_firewall_facts: hostname: "{{ vsphere_host }}" username: "{{ vsphere_username }}" password: "{{ vsphere_password }}" validate_certs: "no" cluster_name: "my_cluster"
It can also gather for just a single host:
- name: Get facts on a single host vmware_host_firewall_facts: hostname: "{{ vsphere_host }}" username: "{{ vsphere_username }}" password: "{{ vsphere_password }}" validate_certs: "no" esxi_hostname: "{{ exsi_host }}"