vbotka.freebsd_timezone

freebsd_timezone

qualityBuild StatusGitHub tag

Ansible role. FreeBSD. Configure timezone.

Feel free to share your feedback and report issues.

Contributions are welcome.

Requirements

None.

Variables

Review the defaults and examples in vars.

Workflow

  1. Change shell on the remote host to /bin/sh if necessary
shell> ansible srv.example.com -e 'ansible_shell_type=csh ansible_shell_executable=/bin/csh' -a 'sudo pw usermod freebsd -s /bin/sh'
  1. Install the role
shell> ansible-galaxy role install vbotka.freebsd_timezone
  1. Fit variables

  2. Create the playbook

shell> cat freebsd-timezone.yml

- hosts: srv.example.com
  roles:
    - vbotka.freebsd_timezone
  1. Configure the timezone
shell> ansible-playbook freebsd-timezone.yml

References

How time is affected by the ntpd and /etc/localtime

License

license

Author Information

Vladimir Botka

About

FreeBSD. Configure timezone.

Install
ansible-galaxy install vbotka.freebsd_timezone
GitHub repository
License
bsd-2-clause
Downloads
95