blob: 300dfa5f09ba064c967b7fb9d9b73ad6d6b71ac9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
- hosts: localhost
gather_facts: smart
tasks:
- debug:
var: date_time
- assert:
that: date_time is defined
- debug:
var: ansible_date_time
- assert:
that: ansible_date_time is not defined
|