This role manages the timezone.
The variables that can be passed to this role and a brief description about them are as follows:
# Enable/Disable timezone tasks
timezone_enabled: true
# Default timezone
timezone: Etc/UTC
# Timezone dependent services list
timezone_dependent_services: []
-
Configure the timezone with the defaults:
--- # This playbook configures timezone - name: Configure timezone on all nodes hosts: all roles: - timezone
-
Configure a non-default timezone and services that need to pick up new timezone:
--- # This playbook configures timezone - name: Configure timezone on all nodes hosts: all roles: - timezone vars: timezone: America/Chicago timezone_dependent_services: [rsyslog, sendmail]
None.
MIT