Hi all,
I have this task :
-
name: “Afficher la date et l’heure”
timetest:
register: time -
name: “Afficher le module time”
debug:
var: time
This module must display the date and time on a windows, but i see that :
TASK [Afficher le module time] ***********************************************************************************************************
ok: [localhost] => {
“time”: {
“changed”: false,
“failed”: false,
“time”: “2019-04-17 14:45:28.243939”
Why i have “changed”: false, and “failed”: false ?
Before, i have already meet this content but i have not never understand why… ;(
Normaly when i display simple variable i see only the result and not that …
can you help me please community ansible
Thanks,
Regards