Added cryptpad role
This commit is contained in:
13
roles/common/tasks/web.yml
Normal file
13
roles/common/tasks/web.yml
Normal 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 }}"
|
||||
Reference in New Issue
Block a user