Skip to content

HUIT-AcademicTechnology-Ops/ansible-role-loris-imageserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: Loris Image Server

Installs and configures the Loris Image Server with Apache and mod_wsgi (python3).

Requirements

  • Ansible 2.0+
  • Ubuntu 18.04 Bionic

Role Variables

parameter required default comments
loris_repo no https://github.com/loris-imageserver/loris.git Loris git repository
loris_version no v3.0.0 Git tag, branch, or commit to use
loris_port no 80 Server port for virtual host
loris_host no Server name for virtual host
loris_prefix no loris URI prefix for IIIF image requests
loris_log_level no INFO Loris log level

Dependencies

None

Example Playbook

Playbook playbook.yml:

  - hosts: server
    remote_user: ubuntu
    become: yes
    roles:
      - huit-academictechnology-ops.ansible-role-loris-imageserver

Inventory inventory:

  [server]
  127.0.0.1 ansible_python_interpreter=/usr/bin/python3

Run Ansible:

  $ ansible-playbook -i inventory playbook.yml -v

To test:

License

MIT/BSD

Author Information

This role was created in 2020 by Arthur Barrett as a member of the Harvard University IT Academic Technology group.