summaryrefslogtreecommitdiffstats
path: root/roles/clients/tasks/prosody.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/clients/tasks/prosody.yml')
-rw-r--r--roles/clients/tasks/prosody.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/roles/clients/tasks/prosody.yml b/roles/clients/tasks/prosody.yml
new file mode 100644
index 0000000..15321a6
--- /dev/null
+++ b/roles/clients/tasks/prosody.yml
@@ -0,0 +1,23 @@
+- name: Installation fichier de config prosody
+ copy:
+ src: prosody.cfg.lua
+ dest: /etc/prosody/prosody.cfg.lua
+ owner: root
+ group: prosody
+ mode: 0640
+
+- name: Modification vhost localhost
+ copy:
+ src: vhostlocalhost.cfg.lua
+ dest: /etc/prosody/conf.d/localhost.cfg.lua
+ owner: root
+ group: prosody
+ mode: 0640
+
+- name: Installation vhost onion
+ copy:
+ src: vhostonion.cfg.lua
+ dest: /etc/prosody/conf.d/vhostonion.cfg.lua
+ owner: root
+ group: prosody
+ mode: 0640