Skip to content

Rosa-Luxemburgstiftung-Berlin/rls.xwiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: GPL v3 Ansible 12 read

rls.xwiki

Setup XWiki on debian

Features

  • deploy and configure xwiki on debian for
    • different appserver: tomcat10 , tomcat9, xjetty
    • different dbserver: mariadb, mysql, pgsql, ...
  • optional configuration for tomcat connectors
  • optional configuration for apache proxy

Role Variables

defaults/main.yml

Example

Vars

run xwiki with ssl support and apache proxy

mariadb_databases:
  - xwiki

dbpw: XYZ_VAULT-ME_123

mariadb_users:
  - name: xwiki
    host: localhost
    password: "{{ dbpw }}"
    priv: "xwiki.*:All"

dbconfig:
  dbpass: "{{ dbpw }}"

xwiki_additional_packages:
  - libreoffice

systemdreadwritepaths:
  - /var/lib/tomcat/.cache

xwiki:
  properties:
    openoffice.serverType: '0'
    openoffice.autoStart: 'true'
    openoffice.homePath: /usr/lib/libreoffice/
  cfg:
    xwiki.store.cache.capacity: 1000

tomcatconffiles:
  - xwiki.ykiwi.p12

pkcspass: YetAnotherSecreteThatShouldBeVaulted

catalina:
  connector:
    8080: # port
      state: absent
    8443:
      state: present
      maxParameterCount: 1000
      address: 127.0.0.1
      protocol: "org.apache.coyote.http11.Http11NioProtocol"
      maxThreads: 150
      SSLEnabled: "true"
      elements:
        - '<SSLHostConfig>
              <Certificate certificateKeystoreFile="conf/xwiki.ykiwi.p12"
                         certificateKeystorePassword="{{ pkcspass }}" certificateKeystoreType="PKCS12" />
            </SSLHostConfig>'

use_apache_proxy: true
apache:
  XtraConfigHTTPS: |
      SSLProxyEngine on
  SSLCertificateCopy: true
  SSLCertificateFile: /etc/ssl/certs/xwiki.ykiwi.pem
  SSLCertificateKeyFile: /etc/ssl/private/xwiki.ykiwi.key
  Proxy: 127.0.0.1:8443
  xwiki_proto: https

Play

- hosts: xwiki
  roles:
    - role: systemli.mariadb
      tags: mariadb
    - role: rls.xwiki
  tags: xwiki

About

setup XWiki on debian

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages