Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/systemli/ansible-role-cryptpad
Ansible role to install & maintain cryptpad
https://github.com/systemli/ansible-role-cryptpad
ansible collaboration cryptpad debian molecule texteditor
Last synced: about 1 month ago
JSON representation
Ansible role to install & maintain cryptpad
- Host: GitHub
- URL: https://github.com/systemli/ansible-role-cryptpad
- Owner: systemli
- Archived: true
- Created: 2017-09-01T14:59:53.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2022-01-30T13:47:31.000Z (almost 3 years ago)
- Last Synced: 2024-08-01T12:37:45.262Z (4 months ago)
- Topics: ansible, collaboration, cryptpad, debian, molecule, texteditor
- Size: 32.2 KB
- Stars: 15
- Watchers: 6
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - systemli/ansible-role-cryptpad - Ansible role to install & maintain cryptpad (ansible)
README
# ansible-role-cryptpad
[![Build Status](https://travis-ci.org/systemli/ansible-role-cryptpad.svg?branch=master)](https://travis-ci.org/systemli/ansible-role-cryptpad) [![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-cryptpad-blue.svg)](https://galaxy.ansible.com/systemli/cryptpad/)
Install and maintain an [Cryptpad](https://cryptpad.fr/) service.
This role will setup an cryptpad service running on 0.0.0.0:3000.
You need to have a running webserver with a vhost pointing to your cryptpad instance and it's port.
## Role Variables
Defaults:
## Role variables
cryptpad_required_packages:
- nodejs
- git
cryptpad_repository: "https://github.com/xwiki-labs/cryptpad.git"
cryptpad_repository_key_file: ""
cryptpad_repository_version: "master"
cryptpad_user: "cryptpad"
cryptpad_group: "{{ cryptpad_user }}"
cryptpad_home: "/home/cryptpad"
cryptpad_path: "{{ cryptpad_home }}/cryptpad"
cryptpad_update: False
# enable monit service monitoring
cryptpad_monit_enabled: False
## template/config.js variables
cryptpad_http_address: "::"
cryptpad_http_headers_enabled: "True"
cryptpad_content_security_enabled: "True"
cryptpad_pad_content_security_enabled: "True"
cryptpad_http_port: 3000
cryptpad_http_safe_port: 3001
cryptpad_websocket_path: "/cryptpad_websocket"
cryptpad_log_to_stdout: "false"
cryptpad_verbose: "false"
cryptpad_main_pages:
- index
- privacy
- terms
- about
- contact
- what-is-cryptpad
cryptpad_remove_donate_button: "false"
cryptpad_allow_subscriptions: "false"
cryptpad_domain: "i.did.not.read.my.config.myserver.tld"
cryptpad_default_storage_limit: "50 * 1024 * 1024"
cryptpad_admin_email: "[email protected]"
cryptpad_storage: "./storage/file"
cryptpad_file_path: "./datastore/"
cryptpad_pin_path: "./pins"
cryptpad_blob_path: "./blob"
cryptpad_blob_staging_path: "./blobstage"
cryptpad_channel_expiration_ms: 30000
cryptpad_open_file_limit: 2048
cryptpad_rpc: "./rpc.js"
cryptpad_suppress_rpc_errors: "false"
cryptpad_enable_uploads: "true"
cryptpad_max_upload_size: "20 * 1024 * 1024"## Download
Download latest release with `ansible-galaxy`
ansible-galaxy install systemli.cryptpad
## Example Playbook
- hosts: servers
roles:
- { role: systemli.cryptpad }Testing & Development
---------------------Tests
-----For developing and testing the role we use Travis CI, Molecule and Vagrant. On the local environment you can easily test the role with
Run local tests with:
```
molecule test
```Requires Molecule, Vagrant and `python-vagrant` to be installed.For developing and testing the role we use Travis CI, Molecule and Vagrant. On the local environment you can easily test the role with
## License
This Ansible role is licensed under the GNU GPLv3.
## Author Information
Copyright 2017 systemli.org (https://www.systemli.org/)