You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
blallo 7f2a465d27
Fix git pull repo
2 years ago
defaults Working systemd tasks 2 years ago
handlers Working systemd tasks 2 years ago
tasks Fix git pull repo 2 years ago
templates Working systemd tasks 2 years ago
test Update docker case, improve readme and add testable docker case with vagrant 2 years ago
.gitignore Working systemd tasks 2 years ago
README.md Update docker case, improve readme and add testable docker case with vagrant 2 years ago
Vagrantfile Update docker case, improve readme and add testable docker case with vagrant 2 years ago
ansible.cfg Working systemd tasks 2 years ago
inventory Working systemd tasks 2 years ago
playbook_docker.yml Update docker case, improve readme and add testable docker case with vagrant 2 years ago
playbook_systemd.yml Update docker case, improve readme and add testable docker case with vagrant 2 years ago

README.md

An ansible role to install Bibliogram on a Debian machine

Dependencies

This role sets up a bibliogram node with one of two methods:

  • orchestrating it via systemd
  • orchestrating it via docker

You have to choose which method to use.

Variables

These are the default values

---
ansible_bibliogram_port: "10407"
ansible_bibliogram_with_docker: false
ansible_bibliogram_with_systemd: false
ansible_bibliogram_backup_frequency: "daily"
ansible_bibliogram_root_directory: "/var/www/bibliogram"
ansible_bibliogram_tor_enabled: false

It is mandatory to set a value for ansible_bibliogram_base_url, that points to the public url (together with the protocol and port if not default!) the service is available at.

Develop

A Vagrantfile is provided. You can run the systemd case with

$ vagrant up --provider=libvirt --provision

or the docker case with

$ ANSIBLE_BIBLIOGRAM_DOCKER=1 vagrant up --provider=libvirt --provision

Then, if you put debiantest 192.168.123.2 in your /etc/hosts, you should be able to reach a bibliogram instance at http://debiantest:10407.