Skip to content

Repository files navigation

Logo

Build Status

Vips Ansible role

This Ansible role installs libvips image processing library in a Debian environment.

Getting Started

These instructions will get you a copy of the role for your Ansible Playbook. Once launched, it will install libvips libraries.

Prerequisities

Ansible 2.9.6.0 version installed. Inventory destination should be a Debian environment.

For testing purposes, Python 3.7 with Molecule and Docker.

Installing

Create or add to your roles dependency file (e.g requirements.yml):

- src: idealista.vips_role
  version: 2.0.1
  name: vips

Install the role with ansible-galaxy command:

ansible-galaxy install -p roles -r requirements.yml -f

Use in a playbook:

- hosts: someserver
  roles:
    - role: vips

Usage

Look to the defaults properties file to see the possible configuration properties.

orc version supported >= 0.4.20

Upgrading from 1.x

libexif-dev and libmagick-dev are no longer part of vips_required_libs. They moved to vips_optional_dependencies, which is empty by default, so a playbook that relied on them being installed will stop getting them without any error. Ask for them explicitly:

vips_optional_dependencies:
  - libexif-dev
  - libmagick-dev

vips_force_reinstall was removed in 2.0.0.

Testing

$ pip install pipenv
$ pipenv sync
$ pipenv run molecule test

The scenario runs against debian:buster-slim by default. DOCKER_BASE_IMAGE selects another of the tested suites:

$ DOCKER_BASE_IMAGE=debian:stretch-slim pipenv run molecule test

Built With

Ansible Molecule Goss

Versioning

For the versions available, see the tags on this repository.

Additionaly you can see what change in each version in the CHANGELOG.md file.

Authors

See also the list of contributors who participated in this project.

License

License

This project is licensed under the Apache 2.0 license - see the LICENSE file for details.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

About

Ansible role to install libvips image processing library

Topics

Resources

Code of conduct

Contributing

Stars

2 stars

Watchers

24 watching

Forks

Releases

Packages

Used by

Contributors

Languages