ansible/test/integration/targets/prepare_vmware_tests/tasks
Gonéri Le Bouder 039c770a95 vmware_host_firewall_manager: fix #61332
Since https://github.com/ansible/ansible/pull/56733, we were not able to apply
firewall rules with no `allowed_hosts` key.

closes: #61332

In addition, this patch ensures the `allowed_hosts` key accepts a dict,
instead of a dict in a single entry list.

```yaml
vmware_host_firewall_manager:
  esxi_hostname: "{{ esxi1 }}"
  rules:
    - name: NFC
      enabled: True
      allowed_hosts:
        - all_ip: False
          ip_address:
            - "1.2.3.4"
```

Should be written:

```yaml
vmware_host_firewall_manager:
  esxi_hostname: "{{ esxi1 }}"
  rules:
    - name: NFC
      enabled: True
      allowed_hosts:
        all_ip: False
        ip_address:
          - "1.2.3.4"
```
2019-10-28 13:01:02 -04:00
..
init_real_lab.yml
init_vcsim.yml prepare_vmware_tests: use module_defaults (#63209) 2019-10-11 19:46:54 +05:30
main.yml
setup_attach_hosts.yml prepare_vmware_tests: use module_defaults (#63209) 2019-10-11 19:46:54 +05:30
setup_category.yml prepare_vmware_tests: use module_defaults (#63209) 2019-10-11 19:46:54 +05:30
setup_cluster.yml prepare_vmware_tests: use module_defaults (#63209) 2019-10-11 19:46:54 +05:30
setup_content_library.yml prepare_vmware_tests: use module_defaults (#63209) 2019-10-11 19:46:54 +05:30
setup_datacenter.yml prepare_vmware_tests: use module_defaults (#63209) 2019-10-11 19:46:54 +05:30
setup_datastore.yml prepare_vmware_tests: use module_defaults (#63209) 2019-10-11 19:46:54 +05:30
setup_dvswitch.yml prepare_vmware_tests: use module_defaults (#63209) 2019-10-11 19:46:54 +05:30
setup_resource_pool.yml prepare_vmware_tests: use module_defaults (#63209) 2019-10-11 19:46:54 +05:30
setup_switch.yml prepare_vmware_tests: use module_defaults (#63209) 2019-10-11 19:46:54 +05:30
setup_tag.yml prepare_vmware_tests: use module_defaults (#63209) 2019-10-11 19:46:54 +05:30
setup_virtualmachines.yml prepare_vmware_tests: use module_defaults (#63209) 2019-10-11 19:46:54 +05:30
teardown.yml vmware_host_firewall_manager: fix #61332 2019-10-28 13:01:02 -04:00