scale_computing.hypercore.check_local_time role – Check if local time meets the required time interval

Note

This role is part of the scale_computing.hypercore collection (version 1.6.0).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install scale_computing.hypercore.

To use it in a playbook, specify: scale_computing.hypercore.check_local_time.

Entry point main – Check if local time meets the required time interval

Synopsis

  • Check if local time meets the required time interval

Parameters

Parameter

Comments

check_local_time_time_interval

string / required

Time interval in which local time must be located

Must be provided in a form ‘22:00-6:15’ or ‘7:30-12:36’

check_local_time_time_zone

string / required

Time zone for which to calculate if local time meets the required time interval

Must be provided in a form ‘Europe/Amsterdam’

time_interval

string

DEPRECATED, will be removed in release 3.0.0.

Please use check_local_time_time_interval instead.

time_zone

string

DEPRECATED, will be removed in release 3.0.0.

Please use check_local_time_time_zone instead.