Add assertions for ansible_date_time in setup result.
This commit is contained in:
parent
31d06886d5
commit
f3476b556d
1 changed files with 8 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue