Skip to content

Commit

Permalink
Add tests for new windows facts.
Browse files Browse the repository at this point in the history
  • Loading branch information
cchurch committed Aug 31, 2014
1 parent b068155 commit dac1190
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/integration/roles/test_win_setup/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit dac1190

Please sign in to comment.