yatesr / ansible-timezone Goto Github PK
View Code? Open in Web Editor NEWAnsible role for managing timezones.
Ansible role for managing timezones.
Ansible galaxy v 2.5.0 under python 3.6 seems to have a problem downloading your role due to multiple versions present. Could you remove one of the versions either v1.1.0 or 1.1.0?
./.tox/py36-ansible25-functional/bin/ansible-galaxy install -r test/scenarios/dependency/molecule/ansible-galaxy/requirements.yml
- downloading role 'timezone', owned by yatesr
[WARNING]: - timezone was NOT installed successfully: Unable to compare role versions (v1.1.0, 1.1.0, 1.0.0) to determine the most recent version due to incompatible version formats.
Please contact the role author to resolve versioning conflicts, or specify an explicit role version to install.
ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.
TIL that some service does not use the newly set timezone until they are restarted.
Some people suggest to reboot the whole server in order for all services to pickup the new Timezone.
Still it might be interesting to avoid restarting the whole system and be specific for which process we want to restart / reload.
So my suggestion is: if the timezone is changed, iterate on a list of service and restart those.
Here is a resource about this: https://askubuntu.com/questions/144064/set-server-timezone-but-not-working-with-crontab-and-phpmyadmin/506264#506264
In my case, i needed to do:
sudo service cron restart
sudo service rsyslog restart
Currently this role does no privilege escalation which is unclear from the documentation. That means if we do not run this playbook as privileged user it will fail.
If we "globally" run this role as privileged user, then every command will be run as "root" which we also might want to avoid.
Could be automated via TravisCI.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.