ansible/roles/prosody/tasks/main.yml

22 lines
493 B
YAML
Raw Normal View History

2021-02-02 18:04:38 -06: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-30 21:29:35 -06:00
dest: /etc/prosody/prosody.cfg.lua
2021-02-02 18:04:38 -06:00
...