Documentation

    PLEASE NOTE: This document applies to latest version and not to the latest stable release v2.19

    Documentation for other releases can be found by using the version selector in the top right of any doc page.

    timezone

    Configure system timezone.

    Attributes

    check_mode:
      support: always
    

    Parameters

    Parameter Required Type Values Description
    name true string   Name of the timezone (e.g., UTC, Europe/Madrid, America/New_York).

    Examples

    - name: Set timezone to UTC
      timezone:
        name: UTC
    
    - name: Set timezone to Europe/Madrid
      timezone:
        name: Europe/Madrid
    
    - name: Set timezone to America/New_York
      timezone:
        name: America/New_York