Skip to content
This repository has been archived by the owner on Jan 4, 2020. It is now read-only.

Ansible skript to install openslides with postgres and redis

Notifications You must be signed in to change notification settings

OpenSlides/openslides_ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenSlides

Presentation and assembly system http://openslides.org

This role installs OpenSlides in "Big Mode". The "Big Mode" is only supported in OpenSlides >= 2.1 which is not released yet. There fore you have to Install OpenSlides from git by setting the ansible variable openslides_use_git to true.

Requirements

Currently this role only supports Ubuntu 16.04 and Archlinux.

Role Variables

# You have to set this to a random string. Do not share it.
openslides_secure_key: false

# The number of worker which should be started. CPU + 1 workers is advised.
openslides_worker_count: 2

# If set to true, the global nginx config is rewritten to listen on all hosts.
openslides_nginx_global: false

# Creates a virtual host which listens to the given names. This is ignored if
# openslides_nginx_global is set to true.
openslides_nginx_domains: []

# If set to False the stable version of openslides is installed from pypi. If set
# to True, then the development version or another git version is used.
openslides_use_git: false

Example Playbook

Install openslides from git

---
- hosts: openslides
  gather_facts: False

  vars:
    openslides_secure_key: MySecureKey  # Secure Key for django. Should be changed
    openslides_nginx_global: yes  # Let openslides listen on any nginx domain
    openslides_use_git: true

  pre_tasks:
  - name: Install python2
    become: yes
    raw: apt-get -y install python

  - setup: ''

  - name: Update System
    apt:
      update_cache: yes
      upgrade: dist
      cache_valid_time: 3600

  roles:
  - ostcar.OpenSlides

License

MIT

Author Information

Oskar Hahn mail@oshahn.de

About

Ansible skript to install openslides with postgres and redis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published