radek_sprta.sanoid

Ansibleロール: Sanoid Ansible Role GitHub tag (latest SemVer) Ansible Role Ansible Role Pipeline status

ZFSの自動スナップショットのためにSanoidをインストールし、設定します。

ロール変数

defaults/main.ymlからの変数のリスト。

sanoid_package: sanoid

インストールするパッケージです。これを上書きする必要はありません。

sanoid_templates:
  - name: example
    frequently: 0
    hourly: 24
    daily: 7
    monthly: 12
    yearly: 0
    autosnap: "yes"
    autoprune: "yes"

Sanoidバックアップテンプレートの辞書です。例は利用可能なオプションを示しています。"yes"の周りの引用符は必要です。

sanoid_datasets:
  - name: example
    use_template: example
    recursive: "yes"
    process_children_only: "yes"
    yearly: 1

スナップショットを取得するデータセットの辞書です。例は利用可能なオプションのいくつかを示しています。また、sanoid_templatesのオプションも利用可能です。"yes"の周りの引用符は必要です。

例のプレイブック

- hosts: all

  vars:
    - name: tank
      process_children_only: "yes"
      recursive: "yes"
      use_template: example

  roles:
     - radek_sprta.sanoid

ライセンス

MIT

著者情報

Radek Sprta mail@radeksprta.eu

プロジェクトについて

Install and configure Sanoid for automatic ZFS snapshots.

インストール
ansible-galaxy install radek_sprta.sanoid
ライセンス
mit
ダウンロード
282
所有者