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
.
Currently this role only supports Ubuntu 16.04 and Archlinux.
# 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
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
MIT
Oskar Hahn [email protected]