weareinteractive.timezone

Ansible Timezone Role

Build Status Stories in Ready

timezone is 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.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

Copyright (c) We Are Interactive under the MIT license.

About

Configures the timezone

Install
ansible-galaxy install weareinteractive.timezone
GitHub repository
License
mit
Downloads
1.9k