ansible/roles/prosody/tasks/main.yml

22 lines
493 B
YAML
Raw Permalink Normal View History

2021-02-03 01:04:38 +01:00
---
- name: Install prosody http site
template:
src: nginx.j2
dest: "/etc/nginx/sites-available/{{ prosody_domain }}"
when: prosody_nginx_install
- name: Enable prosody http site
notify: reload nginx
file:
src: /etc/nginx/sites-available/{{ prosody_domain }}
dest: /etc/nginx/sites-enabled/{{ prosody_domain }}
state: link
when: prosody_nginx_install
- name: Configure prosody
template:
src: prosody.cfg.lua.j2
2022-12-31 04:29:35 +01:00
dest: /etc/prosody/prosody.cfg.lua
2021-02-03 01:04:38 +01:00
...