ansible-roles/webapps/hedgedoc/README.md
Mathieu Gauthier-Pilote f7f906b0f7
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
Update README.md/LISEZMOI.md: use node_version in example playbook
2023-01-27 08:36:30 -05:00

1.2 KiB

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.