sgaduuw.timesyncd

Ansibleロール: timesyncd

systemd-timesyncd、systemdにビルトインされたNTPクライアントを管理するためのAnsibleロールです。

要件

特になし。

ロール変数とそのデフォルト

このロールで使用される変数の例とデフォルト:

ntp_timezone: Etc/UTC
ntp_servers:
  - 0.pool.ntp.org
  - 1.pool.ntp.org
  - 2.pool.ntp.org
  - 3.pool.ntp.org
ntp_servers_fallback: []

ntp_servers_fallbackのデフォルトは空のリストです。フォールバックのNTPサーバーを使用するには、サーバーのリストを作成するだけで済みます。例:

ntp_servers_fallback:
  - time1.google.com
  - time2.google.com
  - time3.google.com
  - time4.google.com

依存関係

特になし。

例プレイブック

- hosts: all
  roles:
     - { role: sgaduuw.timesyncd, ntp_servers: [ '0.pool.ntp.org', '1.pool.ntp.org', '2.pool.ntp.org', '3.pool.ntp.org' ] }

ライセンス

MIT

著者情報

エールコ・ウェセマン(Sgaduuw)によって作成、2020

プロジェクトについて

Manage systemd-timesyncd

インストール
ansible-galaxy install sgaduuw.timesyncd
ライセンス
mit
ダウンロード
2.3k
所有者