Skip to content

Commit

Permalink
Merge pull request ansible#13333 from cchurch/test_win_setup_check_da…
Browse files Browse the repository at this point in the history
…te_time

Add assertions for ansible_date_time in setup result (for windows)
  • Loading branch information
cchurch committed Nov 27, 2015
2 parents 31d0688 + f3476b5 commit 82b9af2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/integration/roles/test_win_setup/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@
- "not setup_result|changed"
- "setup_result.ansible_facts"
- "setup_result.ansible_facts.ansible_os_family == 'Windows'"
- "setup_result.ansible_facts.ansible_date_time"
- "setup_result.ansible_facts.ansible_date_time.date"
- "setup_result.ansible_facts.ansible_date_time.year"
- "setup_result.ansible_facts.ansible_date_time.month"
- "setup_result.ansible_facts.ansible_date_time.day"
- "setup_result.ansible_facts.ansible_date_time.hour is defined"
- "setup_result.ansible_facts.ansible_date_time.minute is defined"
- "setup_result.ansible_facts.ansible_date_time.iso8601"
- "setup_result.ansible_facts.ansible_distribution"
- "setup_result.ansible_facts.ansible_distribution_version"
- "setup_result.ansible_facts.ansible_fqdn"
Expand Down

0 comments on commit 82b9af2

Please sign in to comment.