6dc36ac2ba
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|4803|45|4758|26|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/hedgedoc/2//ansiblelint">Evolix » ansible-roles » hedgedoc #2</a>
gitea/ansible-roles/pipeline/head This commit looks good
|
||
---|---|---|
.. | ||
defaults | ||
handlers | ||
meta | ||
tasks | ||
templates | ||
tests | ||
vars | ||
LISEZMOI.md | ||
README.md |
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.