summaryrefslogtreecommitdiffstats
path: root/pad-proxy/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'pad-proxy/tasks/main.yml')
-rw-r--r--pad-proxy/tasks/main.yml27
1 files changed, 0 insertions, 27 deletions
diff --git a/pad-proxy/tasks/main.yml b/pad-proxy/tasks/main.yml
deleted file mode 100644
index d47573a..0000000
--- a/pad-proxy/tasks/main.yml
+++ /dev/null
@@ -1,27 +0,0 @@
----
-- name: Set up Nginx as root
- become: true
- block:
- - name: Install Nginx
- apt:
- name: nginx
- state: present
- - name: Add proxy configuration
- template:
- src: etherpad.nginx.conf
- dest: /etc/nginx/sites-available/etherpad.conf
- when: not use_wikimedia
- - name: Add rewrite configuration
- template:
- src: wikimedia.etherpad.nginx.conf
- dest: /etc/nginx/sites-available/etherpad.conf
- when: use_wikimedia
- - name: Enable site
- file:
- src: /etc/nginx/sites-available/etherpad.conf
- dest: /etc/nginx/sites-enabled/etherpad.conf
- state: link
- - name: Restart nginx
- service:
- name: nginx
- state: restarted