SimpliField.file-retention

ファイル保持
ビルドステータス Ansibleロール
=========

指定したパス内の古いファイルやパスを削除するためのAnsibleロールです。

要件

ターゲットホストにAnsible 2以上とcronが必要です。

ロール変数

file-retention_path = '/data/db/backups'
file-retention_days = 30;
file-retention_user = 'www';

依存関係

依存関係はありません。

例示プレイブック

- hosts: servers
  roles:
  - role: SimpliField.file-retention
    file-retention_path: '/data/db/backups'
    file-retention_days: 30
    file-retention_user: 'www'

ライセンス

BSD

プロジェクトについて

Remove older file / path

インストール
ansible-galaxy install SimpliField.file-retention
ライセンス
Unknown
ダウンロード
1k
所有者