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

Add tests for new windows facts.

This commit is contained in:
Chris Church 2014-08-31 11:52:20 -04:00
parent b068155a43
commit dac11904cb

View file

@ -34,3 +34,14 @@
- "setup_result.ansible_facts.ansible_ip_addresses"
- "setup_result.ansible_facts.ansible_system"
- "setup_result.ansible_facts.ansible_totalmem"
- "setup_result.ansible_facts.ansible_interfaces"
- "setup_result.ansible_facts.ansible_interfaces[0]"
- "setup_result.ansible_facts.ansible_interfaces[0].interface_name"
- "setup_result.ansible_facts.ansible_interfaces[0].interface_index"
- "setup_result.ansible_facts.ansible_powershell_version"
- name: check setup result only when using https
assert:
that:
- "setup_result.ansible_facts.ansible_winrm_certificate_expires"
when: ansible_ssh_port|default(5986) != 5985