projects
/
ansible.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove do-update script
[ansible.git]
/
roles
/
prosody
/
tasks
/
main.yml
diff --git
a/roles/prosody/tasks/main.yml
b/roles/prosody/tasks/main.yml
index 96ed9807861c2a412dcc095bce1927353837ed70..662647f47b9ec33b097c5ce56a3deb3e05afc937 100644
(file)
--- a/
roles/prosody/tasks/main.yml
+++ b/
roles/prosody/tasks/main.yml
@@
-1,6
+1,6
@@
# install
- name: install prosody
# install
- name: install prosody
- apt: name=prosody state=latest default_release={{ansible_distribution_release}}-backports
+ apt: name=prosody
,lua-zlib,lua-dbi-sqlite3,coturn
state=latest default_release={{ansible_distribution_release}}-backports
- name: fetch prosody modules
hg:
dest: "{{ prosody.paths.modules }}"
- name: fetch prosody modules
hg:
dest: "{{ prosody.paths.modules }}"
@@
-13,6
+13,11
@@
dest: /etc/prosody/prosody.cfg.lua
src: templates/prosody.cfg.lua
notify: prosody
dest: /etc/prosody/prosody.cfg.lua
src: templates/prosody.cfg.lua
notify: prosody
+- name: configure coturn
+ template:
+ dest: /etc/turnserver.conf
+ src: templates/turnserver.conf
+ notify: coturn
- name: configure apache
when: inventory_hostname in groups['apache']
template:
- name: configure apache
when: inventory_hostname in groups['apache']
template: