ckaserer.timezone

gplv3
Maintenance

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"
プロジェクトについて

set your timezone

インストール
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.