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:
parent
b068155a43
commit
dac11904cb
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue