Coder Social home page Coder Social logo

ansible-thumbor's Introduction

Ansible Thumbor

thumbor is an ansible role which:

  • installs nginx
  • installs thumbor
  • configures thumbor
  • starts both as services

Installation

Using ansible-galaxy:

$ ansible-galaxy install savagegus.thumbor

Using git:

$ git clone https://github.com/jivesoftware/ansible-thumbor.git

Role Variables

thumbor_aws_access_key: ''
thumbor_aws_secret_key: ''
thumbor_aws_loader_bucket: ''
thumbor_aws_version: a0c4bcc02601af317072adab32ce0be14d0cd492
thumbor_server_name: localhost
thumbor_user: thumbor
thumbor_group: thumbor
thumbor_home: /home/thumbor
thumbor_config_file: /etc/thumbor.conf
thumbor_key_file: /etc/thumbor.key
thumbor_log_file: /var/log/thumbor
thumbor_working_directory: /var/lib/thumbor
thumbor_default: /etc/default/thumbor
thumbor_server_name: localhost
thumbor_bind_address: 127.0.0.1
thumbor_loader: thumbor_aws.loaders.s3_loader

Dependencies

franklinkim.nginx

Example Playbook

- hosts: all
  roles:
    - ansible-thumbor
  vars:
    nginx_remove_default: yes
    nginx_worker_processes: 1
    nginx_worker_connections: 1024
    thumbor_aws_access_key: XXX
    thumbor_aws_secret_key: XXX
    thumbor_aws_loader_bucket: XXX

Testing


$ git clone https://github.com/jivesoftware/ansible-thumbor.git
$ cd ansible-thumbor
$ vagrant up

Contributing


In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests and examples for any new or changed functionality.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License


Copyright (c) Jive Software under the Apache license.

ansible-thumbor's People

Contributors

mattfinlayson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ansible-thumbor's Issues

Compilation errors on Ubuntu 15.04 (ARM)

(using scaleway ARM cloud service )

fatal error: openssl/crypto.h: No such file or directory
fatal error: gnutls/gnutls.h: No such file or directory

In order to pass the step were pycurl is installed, I had to install (apt-get install)
libgnutls-dev and libcurl4-gnutls-dev

(I also had to run pip install python-magic by hands ... I don't know why)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.