Fix for 13315 - minute now included in ansible_date_time on windows hosts
This commit is contained in:
parent
bef2b75857
commit
5453d1e959
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ Set-Attr $date "year" (Get-Date -format yyyy)
|
||||||
Set-Attr $date "month" (Get-Date -format MM)
|
Set-Attr $date "month" (Get-Date -format MM)
|
||||||
Set-Attr $date "day" (Get-Date -format dd)
|
Set-Attr $date "day" (Get-Date -format dd)
|
||||||
Set-Attr $date "hour" (Get-Date -format HH)
|
Set-Attr $date "hour" (Get-Date -format HH)
|
||||||
|
Set-Attr $date "minute" (Get-Date -format mm)
|
||||||
Set-Attr $date "iso8601" (Get-Date -format s)
|
Set-Attr $date "iso8601" (Get-Date -format s)
|
||||||
Set-Attr $result.ansible_facts "ansible_date_time" $date
|
Set-Attr $result.ansible_facts "ansible_date_time" $date
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue