You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/prepare_vmware_tests/tasks
Gonéri Le Bouder 8b3d1581bd [stable-2.9] vmware_host_firewall_manager: fix #61332 (#63567) (#64410)
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"
```

(cherry picked from commit ab2aaca61d)
5 years ago
..
init_real_lab.yml vmware_content_library_info: init the functional test 5 years ago
init_vcsim.yml vmware_guest: speed up vmware_guest tests 5 years ago
main.yml prepapre_vmware_tests: add a common vars file 6 years ago
setup_attach_hosts.yml vmware: test-refactoring 6 years ago
setup_category.yml VMware: add facts about tags in vmware_cluster_facts (#56848) 5 years ago
setup_cluster.yml VMware: Refactor vmware_cluster into several modules (#58468) 5 years ago
setup_content_library.yml vmware_content_library_info: init the functional test 5 years ago
setup_datacenter.yml vmware: test-refactoring 6 years ago
setup_datastore.yml VMWare - Rename _facts to _info (#57474) 5 years ago
setup_dvswitch.yml vmware_guest: enable 3 extra tests 5 years ago
setup_resource_pool.yml vmware: test-suite fixes 6 years ago
setup_switch.yml vmware: test-refactoring 6 years ago
setup_tag.yml VMWare - Rename _facts to _info (#57474) 5 years ago
setup_virtualmachines.yml vmware_guest: speed up vmware_guest tests 5 years ago
teardown.yml [stable-2.9] vmware_host_firewall_manager: fix #61332 (#63567) (#64410) 5 years ago