cp_gaia_time_and_date.¶
Synopsis¶
Show the time and date configuration.
Requirements¶
The below requirements are needed on the host that executes this module.
supported starting from gaia_api >= 1.6
Parameters¶
- version (False, str, None)
Gaia API version for example 1.7.
- time (False, str, None)
Time to set, in HH:MM[:SS] format.
- date (False, str, None)
Date to set, in YYYY-MM-DD format.
- timezone (False, str, None)
Timezone in Area / Region format. See timezone list via cp_gaia_timezones_facts.
- wait_for_task (False, bool, True)
Wait for task or return immediately.
Notes¶
Note
Supports
check_mode
.
Examples¶
- name: Setting new time and date
check_point.gaia.cp_gaia_time_and_date:
time: newpass
date: newpass
timezone: newpass
Return Values¶
- set_time_and_date (always., dict, )
The checkpoint object updated.