trombik.localtime
ansible-role-localtime
Set local time zone.
Requirements
None
Role Variables
| Variable | Description | Default |
|---|---|---|
localtime_zoneinfo_dir |
directory where zoneinfo files are located |
{{ __localtime_zoneinfo_dir }} |
localtime_zone |
a hash of ansible_os_family in key and timezone in value |
{} |
Debian
| Variable | Default |
|---|---|
__localtime_zoneinfo_dir |
/usr/share/zoneinfo |
FreeBSD
| Variable | Default |
|---|---|
__localtime_zoneinfo_dir |
/usr/share/zoneinfo |
OpenBSD
| Variable | Default |
|---|---|
__localtime_zoneinfo_dir |
/usr/share/zoneinfo |
RedHat
| Variable | Default |
|---|---|
__localtime_zoneinfo_dir |
/usr/share/zoneinfo |
Dependencies
None
Example Playbook
- hosts: localhost
roles:
- ansible-role-localtime
vars:
localtime_zone:
FreeBSD: Asia/Tokyo
OpenBSD: Japan
Debian: Japan
RedHat: Japan
License
Copyright (c) 2016 Tomoyuki Sakurai <[email protected]>
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Author Information
Tomoyuki Sakurai y@trombik.org
This README was created by ansible-role-init
Install
ansible-galaxy install trombik.localtimeLicense
isc
Downloads
80
Owner
PGP finger print: 03EB 3D97 5E04 9B0C AB21 93A2 D693 42A9 EFBC 3577
