1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fix cs_zone_facts tests, namespace feature removed (#29184)

* fix cszonefacts .. namespace feature removed

* also removed the 2nd instance of ansible_facts
This commit is contained in:
Brian Coca 2017-09-11 11:30:43 -04:00 committed by René Moser
parent 0647d09602
commit 444a5b5389

View file

@ -21,16 +21,16 @@
that: that:
- zone|success - zone|success
- not zone|changed - not zone|changed
- ansible_facts.cloudstack_zone.dns1 == "8.8.8.8" - cloudstack_zone.dns1 == "8.8.8.8"
- ansible_facts.cloudstack_zone.dns2 == "8.8.4.4" - cloudstack_zone.dns2 == "8.8.4.4"
- ansible_facts.cloudstack_zone.internal_dns1 == "8.8.8.8" - cloudstack_zone.internal_dns1 == "8.8.8.8"
- ansible_facts.cloudstack_zone.internal_dns2 == "8.8.4.4" - cloudstack_zone.internal_dns2 == "8.8.4.4"
- ansible_facts.cloudstack_zone.local_storage_enabled == false - cloudstack_zone.local_storage_enabled == false
- ansible_facts.cloudstack_zone.network_type == "Basic" - cloudstack_zone.network_type == "Basic"
- ansible_facts.cloudstack_zone.zone_token != "" - cloudstack_zone.zone_token != ""
- ansible_facts.cloudstack_zone.securitygroups_enabled == true - cloudstack_zone.securitygroups_enabled == true
- ansible_facts.cloudstack_zone.dhcp_provider == "VirtualRouter" - cloudstack_zone.dhcp_provider == "VirtualRouter"
- ansible_facts.cloudstack_zone.local_storage_enabled == false - cloudstack_zone.local_storage_enabled == false
- name: get facts from zone - name: get facts from zone
cs_zone_facts: cs_zone_facts:
@ -41,13 +41,13 @@
that: that:
- zone|success - zone|success
- not zone|changed - not zone|changed
- ansible_facts.cloudstack_zone.dns1 == "8.8.8.8" - cloudstack_zone.dns1 == "8.8.8.8"
- ansible_facts.cloudstack_zone.dns2 == "8.8.4.4" - cloudstack_zone.dns2 == "8.8.4.4"
- ansible_facts.cloudstack_zone.internal_dns1 == "8.8.8.8" - cloudstack_zone.internal_dns1 == "8.8.8.8"
- ansible_facts.cloudstack_zone.internal_dns2 == "8.8.4.4" - cloudstack_zone.internal_dns2 == "8.8.4.4"
- ansible_facts.cloudstack_zone.local_storage_enabled == false - cloudstack_zone.local_storage_enabled == false
- ansible_facts.cloudstack_zone.network_type == "Basic" - cloudstack_zone.network_type == "Basic"
- ansible_facts.cloudstack_zone.zone_token != "" - cloudstack_zone.zone_token != ""
- ansible_facts.cloudstack_zone.securitygroups_enabled == true - cloudstack_zone.securitygroups_enabled == true
- ansible_facts.cloudstack_zone.dhcp_provider == "VirtualRouter" - cloudstack_zone.dhcp_provider == "VirtualRouter"
- ansible_facts.cloudstack_zone.local_storage_enabled == false - cloudstack_zone.local_storage_enabled == false