ansible-roles/webapps/hedgedoc
Mathieu Gauthier-Pilote e787d62926
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |3149|0|3149|0|:zzz:
gitea/ansible-roles/pipeline/head This commit looks good
WIP: Deploying v1.9.9 with Node 18.x on Deb 12
2024-06-12 15:46:54 -04:00
..
defaults WIP: Deploying v1.9.9 with Node 18.x on Deb 12 2024-06-12 15:46:54 -04:00
handlers New role for hedgedoc 2024-06-12 15:46:54 -04:00
meta New role for hedgedoc 2024-06-12 15:46:54 -04:00
tasks WIP: Deploying v1.9.9 with Node 18.x on Deb 12 2024-06-12 15:46:54 -04:00
templates Now installs a LE SSL cert via certbot by default 2024-06-12 15:46:54 -04:00
tests New role for hedgedoc 2024-06-12 15:46:54 -04:00
vars New role for hedgedoc 2024-06-12 15:46:54 -04:00
LISEZMOI.md Update README.md/LISEZMOI.md: use node_version in example playbook 2024-06-12 15:46:54 -04:00
README.md Update README.md/LISEZMOI.md: use node_version in example playbook 2024-06-12 15:46:54 -04:00

hedgedoc

This role installs or upgrades the server for the real-time markdown collaborative editor HedgeDoc.

FRENCH: Voir le fichier LISEZMOI.md pour le français.

Requirements

...

Role Variables

Several of the default values in defaults/main.yml must be changed either directly in defaults/main.yml or better even by overwriting them somewhere else, for example in your playbook (see the example below).

Dependencies

This Ansible role depends on the following other roles:

  • nodejs

Example Playbook

- name: "Deploy a HedgeDoc server"
  hosts: 
    - all
  vars:
    # Overwrite the role variable here
    domains: ['your-real-domain.org']
    service: 'my-hedgedoc'
    db_host: 'localhost'
    db_user: "{{ service }}"
    db_name: "{{ service }}"
    db_password: 'zKEh-CHANGE-ME-qIKc'

  pre_tasks:
    - name: "Install system roles"
      roles:
        - { role: nodejs, nodejs_apt_version: "{{ node_version }}" }

  roles:
    - { role: webapps/hedgedoc , tags: "hedgedoc" }

License

GPLv3

Author Information

Mathieu Gauthier-Pilote, sys. admin. at Evolix.