Added cryptpad role

This commit is contained in:
2021-01-05 13:53:15 +01:00
parent 6de3c4633f
commit d398c22b56
14 changed files with 115 additions and 0 deletions

View File

@ -0,0 +1,3 @@
---
- include: web.yml
- include: tools.yml

View File

@ -0,0 +1,10 @@
---
- name: use Node
when: node_version is defined
block:
- name: check used version
command: uberspace tools version show node
register: used_node
- name: update used version
command: uberspace tools version use node {{ node_version }}
when: used_node.stdout.find(node_version|string) == -1

View File

@ -0,0 +1,13 @@
---
- name: list domains
command: uberspace web domain list
register: domains
- name: set up domain
when: domains.stdout.find(domain) == -1
block:
- name: add domain
command: uberspace web domain add {{ domain }}
register: new_domain
- name: print out important information
debug:
msg: "{{ new_domain.stdout }}"