Browse Source

Merge branch 'master' into builtin-password-hashing

Sven Neuhaus 7 years ago
parent
commit
30438d2f0e

+ 1
- 1
README.md View File

@@ -67,7 +67,7 @@ Installation
67 67
 
68 68
 The following steps are done on the remote server by `ssh`ing into it and running these commands.
69 69
 
70
-### 1. Install required packages
70
+### 1. Install required packages e.g `aptitude` is required on Debian
71 71
 
72 72
     apt-get install sudo
73 73
 

+ 5
- 0
roles/common/tasks/letsencrypt.yml View File

@@ -1,3 +1,8 @@
1
+- name: Add group name ssl-cert for SSL certificates
2
+  group:
3
+    name: ssl-cert
4
+    state: present
5
+
1 6
 - name: Download LetsEncrypt release
2 7
   git: repo=https://github.com/letsencrypt/letsencrypt
3 8
        dest=/root/letsencrypt

+ 3
- 0
roles/xmpp/files/etc_letsencrypt_postrenew_prosody.sh View File

@@ -0,0 +1,3 @@
1
+#!/bin/bash
2
+
3
+systemctl restart prosody.service

+ 3
- 0
roles/xmpp/tasks/prosody.yml View File

@@ -19,6 +19,9 @@
19 19
 - name: Add prosody user to ssl-cert group
20 20
   user: name=prosody group=ssl-cert
21 21
 
22
+- name: Add cert postrenew task
23
+  copy: src=etc_letsencrypt_postrenew_prosody.sh dest=/etc/letsencrypt/postrenew/prosody.sh mode=0755
24
+
22 25
 - name: Create Prosody data directory
23 26
   file: state=directory path=/decrypted/prosody owner=prosody group=prosody
24 27
 

Loading…
Cancel
Save