Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

[READ-ONLY] Ansible role dealing with installation and configuration of Thumbor

Notifications You must be signed in to change notification settings

manala/ansible-role-thumbor

Repository files navigation

#######################################################################################################

❗ DEPRECATION ❗

This repository and the role associated are deprecated.

You can find our other roles in the Manala Ansible Collection. You will find informations on its usage on the collection repository

#######################################################################################################

Ansible Role: Thumbor Build Status

Report issues and send Pull Requests in the main Ansible Role repository

This role will deal with the setup and configuration of Thumbor.

It's part of the Manala Ansible stack but can be used as a stand alone component.

Requirements

This role is made to work with the manala thumbor debian package, available on the manala debian repository. Please use the manala.apt role to handle it properly.

manala_apt_preferences:
  - thumbor@manala

Dependencies

None.

Installation

Ansible 2+

Using ansible galaxy cli:

ansible-galaxy install manala.thumbor

Using 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 Dependency packages to install
manala_thumbor_install_packages_default ['thumbor'] Array Default dependency packages to install
manala_thumbor_key_file '/etc/thumbor.key' String Key file path
manala_thumbor_key ~ String Key
manala_thumbor_configs_exclusive false Boolean Configurations exclusivity
manala_thumbor_configs_dir '/etc/thumbor.d' String Configurations dir path
manala_thumbor_configs_template 'configs/empty.j2' String Default configurations template path
manala_thumbor_configs [] Array Configurations
manala_thumbor.services true Boolean Handle 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/)

About

[READ-ONLY] Ansible role dealing with installation and configuration of Thumbor

Resources

Stars

Watchers

Forks

Packages

No packages published