Adding step for confirming the timezone is set

This commit is contained in:
Tyler Hale 2021-09-09 15:19:32 -06:00
parent 2609be3e29
commit b7c3a91ed3
3 changed files with 14 additions and 0 deletions

View file

@ -20,6 +20,12 @@ base_core_install_updates: true
# Defines the hostname to be forced on the host but is ignored if undefined # Defines the hostname to be forced on the host but is ignored if undefined
base_core_hostname: "" base_core_hostname: ""
# Time Sync
# ========
# Defines the timezone to apply to the client
base_core_timezone: "America/Boise"
# MOTD # MOTD
# ==== # ====

View file

@ -29,3 +29,7 @@
name: chronyd name: chronyd
state: started state: started
enabled: true enabled: true
- name: Set timezone to defined variable
timezone:
name: "{{ base_core_timezone }}"

View file

@ -11,3 +11,7 @@
name: chronyd name: chronyd
state: started state: started
enabled: yes enabled: yes
- name: Set timezone to defined variable
timezone:
name: "{{ base_core_timezone }}"