manala.thumbor
#######################################################################################################
:exclamation: 非推奨 :exclamation:
このリポジトリと関連する役割は非推奨です。
他の役割は Manala Ansible Collection で見つけることができます。使用方法については コレクションリポジトリ をご覧ください。
#######################################################################################################
Ansible Role: Thumbor 
:exclamation: 問題を報告し、プルリクエストを送信してください:メインのAnsible Roleリポジトリ :exclamation:
この役割は、Thumborのセットアップと構成を行います。
Manala Ansibleスタックの一部ですが、単体コンポーネントとしても使用できます。
要件
この役割は、manala thumbor Debianパッケージと連携するように作られています。manala Debianリポジトリから入手可能です。正しく処理するために、manala.apt 役割を使用してください。
manala_apt_preferences:
- thumbor@manala
依存関係
ありません。
インストール
Ansible 2+
ansible galaxy CLIを使用する場合:
ansible-galaxy install manala.thumbor
ansible galaxy要件ファイルを使用する場合:
- src: manala.thumbor
Role Handlers
| 名前 | タイプ | 説明 |
|---|---|---|
thumbor restart |
サービス | Thumborサービスを再起動 |
Role Variables
| 名前 | デフォルト | 型 | 説明 |
|---|---|---|---|
manala_thumbor_install_packages |
~ | 配列 | インストールする依存パッケージ |
manala_thumbor_install_packages_default |
['thumbor'] | 配列 | インストールするデフォルトの依存パッケージ |
manala_thumbor_key_file |
'/etc/thumbor.key' | 文字列 | キーファイルのパス |
manala_thumbor_key |
~ | 文字列 | キー |
manala_thumbor_configs_exclusive |
false | ブール | 構成の排他性 |
manala_thumbor_configs_dir |
'/etc/thumbor.d' | 文字列 | 構成ディレクトリのパス |
manala_thumbor_configs_template |
'configs/empty.j2' | 文字列 | デフォルトの構成テンプレートのパス |
manala_thumbor_configs |
[] | 配列 | 構成 |
manala_thumbor.services |
true | ブール | サービスを処理する |
設定例
manala_thumbor_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
manala_thumbor_configs:
- file: debian.conf
template: configs/debian.j2
- file: thumbor.conf
template: configs/default.prod.j2
- file: app.conf
config:
- MAX_WIDTH: 100
- UPLOAD_MAX_SIZE: 1024
例のプレイブック
- hosts: servers
roles:
- { role: manala.thumbor }
ライセンス
MIT
著者情報
Manala (http://www.manala.io/)
インストール
ansible-galaxy install manala.thumborライセンス
Unknown
ダウンロード
4k
所有者
Manala is an open source project supported by the french web agency ELAO providing advanced ansible roles for website's infrastructures and far more.
