ckaserer.timezone
ckaserer.timezone
timezoneロールを使うことで、ターゲットノードのタイムゾーンを簡単に設定できます。
まず、ansibleを実行するノードに以下のコマンドでロールをインストールしてください。
ansible-galaxy install ckaserer.timezone
タイムゾーンを設定する
以下のプレイブックは、現在のノードのタイムゾーンをEurope/Vienna
に設定します。代わりに、hosts
を複数のansibleノードのグループやall
に設定できます。
- hosts: localhost
tasks:
- name: "ckaserer.timezoneを含める"
include_role:
name: "ckaserer.timezone"
apply:
become: true
vars:
timezone: "Europe/Vienna"
インストール
ansible-galaxy install ckaserer.timezone
ライセンス
gpl-3.0
ダウンロード
310
所有者
Anything related to Containers, CI/CD or general automation is fair game for him - give him a terminal and he is happy.