From b89a01d7da3c08dcfbcaaaadc37203782d1f9175 Mon Sep 17 00:00:00 2001 From: KemoNine Date: Wed, 5 Aug 2020 01:37:53 +0000 Subject: [PATCH] Add timezone management --- inventory.example | 1 + playbook-frames.yml | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/inventory.example b/inventory.example index 3fdb88d..a1fd3f2 100644 --- a/inventory.example +++ b/inventory.example @@ -9,6 +9,7 @@ frames: hosts: frame1: vars: + frame_timezone: UTC monit_wireguard: true monit_wireguard_ip: 192.168.254.1 wg: diff --git a/playbook-frames.yml b/playbook-frames.yml index 60fe139..8a38b49 100644 --- a/playbook-frames.yml +++ b/playbook-frames.yml @@ -1,7 +1,11 @@ --- - hosts: frames become: yes + tasks: + - name: Setup timezone + timezone: + name: {{ frame_timezone }} roles: - msmtp - hdmi - - monit + - monit \ No newline at end of file