From d7c936abfaea59fb370eae9e640acfbfbc5359ab Mon Sep 17 00:00:00 2001 From: Greg Szabo Date: Fri, 28 Jul 2017 19:30:59 +0000 Subject: [PATCH] Added timezone setting for CentOS --- ansible/roles/install/tasks/centos.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ansible/roles/install/tasks/centos.yml b/ansible/roles/install/tasks/centos.yml index cd1f0cacc..6d5800113 100644 --- a/ansible/roles/install/tasks/centos.yml +++ b/ansible/roles/install/tasks/centos.yml @@ -1,5 +1,9 @@ --- +- name: Set timezone + when: timezone is defined + file: path=/etc/localtime state=link src=/usr/share/zoneinfo/{{timezone}} force=yes + #Three commands to install a service on CentOS/RedHat #wget -O - http://tendermint-packages.s3-website-us-west-1.amazonaws.com/centos/7/os/x86_64/RPM-GPG-KEY-Tendermint | rpm --import - #wget -O /etc/yum.repos.d/tendermint.repo http://tendermint-packages.s3-website-us-west-1.amazonaws.com/centos/7/os/x86_64/tendermint.repo