ckaserer.timezone
ckaserer.timezone
Rola strefy czasowej pozwala w prosty sposób skonfigurować strefę czasową na wybranych węzłach.
Najpierw musisz zainstalować tę rolę na węźle, z którego będziesz wykonywać ansible, używając polecenia
ansible-galaxy install ckaserer.timezone
Ustawienie strefy czasowej
Poniższy playbook ustawia strefę czasową na twoim bieżącym węźle na Europe/Wiedeń
. Alternatywnie możesz ustawić hosts
na grupę węzłów ansible lub all
.
- hosts: localhost
tasks:
- name: "Dołącz ckaserer.timezone"
include_role:
name: "ckaserer.timezone"
apply:
become: true
vars:
timezone: "Europe/Wiedeń"
Zainstaluj
ansible-galaxy install ckaserer.timezone
Licencja
gpl-3.0
Pobrania
310
Właściciel
Anything related to Containers, CI/CD or general automation is fair game for him - give him a terminal and he is happy.