weareinteractive.timezone
Ansible Timezone Role
timezoneis an ansible role which:
- configures timezone
Installation
Using ansible-galaxy:
$ ansible-galaxy install franklinkim.timezone
Using arm (Ansible Role Manager):
$ arm install franklinkim.timezone
Using git:
$ git clone https://github.com/weareinteractive/ansible-timezone.git
Variables
Here is a list of all the default variables for this role, which are also available in defaults/main.yml.
# set timezone
timezone: 'Europe/Berlin'
Handlers
These are the handlers that are defined in handlers/main.yml.
reconfigure tzdata
Example playbook
- host: all
sudo: yes
roles:
- franklinkim.timezone
vars:
timezone: 'Europe/London'
Testing
$ git clone https://github.com/weareinteractive/ansible-timezone.git
$ cd ansible-timezone
$ vagrant up
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests and examples for any new or changed functionality.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
License
Copyright (c) We Are Interactive under the MIT license.
Install
ansible-galaxy install weareinteractive.timezoneLicense
mit
Downloads
1.9k
Owner

