timezone

gplv3 Maintenance

ckaserer.timezone

The timezone role allows you to configure the timezone of your target nodes easily.

First you need to install the role on the node from which you will execute ansible via

ansible-galaxy install ckaserer.timezone

Set a timezone

The playbook below sets the timezone on your current node to Europe/Vienna. Alternativly you can set hosts to a group of ansible nodes or all.

- hosts: localhost
  tasks:
    - name: "Include ckaserer.timezone"
      include_role:
        name: "ckaserer.timezone"
        apply:
          become: true
        vars:
          timezone: "Europe/Vienna"
Install
ansible-galaxy install ckaserer/ansible-role-timezone
GitHub repository
License
gpl-3.0
Downloads
292
Owner
Anything related to Containers, CI/CD or general automation is fair game for him - give him a terminal and he is happy.