|
|
|
|
28
|
|
28
|
|
29
|
- name: Create Prosody accounts
|
29
|
- name: Create Prosody accounts
|
30
|
command: prosodyctl register {{ item.name }} {{ prosody_virtual_domain }} "{{ item.password }}"
|
30
|
command: prosodyctl register {{ item.name }} {{ prosody_virtual_domain }} "{{ item.password }}"
|
31
|
- with_items: prosody_accounts
|
|
|
|
|
31
|
+ with_items: "{{ prosody_accounts }}"
|
32
|
|
32
|
|
33
|
- name: Set firewall rules for Prosody
|
33
|
- name: Set firewall rules for Prosody
|
34
|
ufw: rule=allow port={{ item }} proto=tcp
|
34
|
ufw: rule=allow port={{ item }} proto=tcp
|