forked from infra/ansible
prosody: use list instead of with_items
This commit is contained in:
parent
64a557ab85
commit
28c9d8ad3a
@ -8,11 +8,11 @@
|
||||
apt: name=lua-cyrussasl default_release=buster-backports
|
||||
|
||||
- name: Install prosody
|
||||
apt: name={{ item }}
|
||||
with_items:
|
||||
- prosody
|
||||
- libsasl2-modules-ldap
|
||||
- sasl2-bin
|
||||
apt:
|
||||
name:
|
||||
- prosody
|
||||
- libsasl2-modules-ldap
|
||||
- sasl2-bin
|
||||
|
||||
- name: Ensure certificates are available
|
||||
command: openssl req -x509 -nodes -newkey rsa:2048 -keyout /etc/prosody/certs/{{ prosody_domain }}.key -out /etc/prosody/certs/{{ prosody_domain }}.crt -days 730 -subj "/CN={{ prosody_domain }}" creates=/etc/prosody/certs/{{ prosody_domain }}.crt
|
||||
|
Loading…
Reference in New Issue
Block a user