manala.thumbor
#######################################################################################################
:exclamation: DEPRECATION :exclamation:
This repository and the associated role are deprecated.
You can find our other roles in the Manala Ansible Collection. For usage information, visit the collection repository.
#######################################################################################################
Ansible Role: Thumbor 
:exclamation: Please report issues and send Pull Requests to the main Ansible Role repository :exclamation:
This role is for setting up and configuring Thumbor.
It’s part of the Manala Ansible stack but can also be used on its own.
Requirements
This role works with the manala thumbor Debian package, which is available in the manala Debian repository. Please use the manala.apt role to manage it correctly.
manala_apt_preferences:
- thumbor@manala
Dependencies
None.
Installation
Ansible 2+
To install using the ansible galaxy command line:
ansible-galaxy install manala.thumbor
To install using an ansible galaxy requirements file:
- src: manala.thumbor
Role Handlers
Name | Type | Description |
---|---|---|
thumbor restart |
Service | Restart Thumbor service |
Role Variables
Name | Default | Type | Description |
---|---|---|---|
manala_thumbor_install_packages |
~ | Array | Packages to install |
manala_thumbor_install_packages_default |
['thumbor'] | Array | Default packages to install |
manala_thumbor_key_file |
'/etc/thumbor.key' | String | Path to key file |
manala_thumbor_key |
~ | String | Key |
manala_thumbor_configs_exclusive |
false | Boolean | Exclusive configurations |
manala_thumbor_configs_dir |
'/etc/thumbor.d' | String | Path to configurations directory |
manala_thumbor_configs_template |
'configs/empty.j2' | String | Path to default configurations template |
manala_thumbor_configs |
[] | Array | Configurations |
manala_thumbor.services |
true | Boolean | Manage services |
Configuration example
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
Example playbook
- hosts: servers
roles:
- { role: manala.thumbor }
Licence
MIT
Author Information
Manala (http://www.manala.io/)
Installa
ansible-galaxy install manala.thumbor
Licenza
Unknown
Download
4k
Proprietario
Manala is an open source project supported by the french web agency ELAO providing advanced ansible roles for website's infrastructures and far more.