21 lines
564 B
YAML
21 lines
564 B
YAML
|
- name: Ensure Diffie-Hellman directory exists
|
||
|
file:
|
||
|
path: "{{ mumble_web_nginx_dhparam | dirname }}"
|
||
|
state: directory
|
||
|
owner: root
|
||
|
group: www-data
|
||
|
mode: "755"
|
||
|
|
||
|
- name: Generate Diffie-Hellman parameters
|
||
|
# This can take a long time... So we are doing it in async mode
|
||
|
openssl_dhparam:
|
||
|
path: "{{ mumble_web_nginx_dhparam }}"
|
||
|
state: present
|
||
|
owner: root
|
||
|
group: www-data
|
||
|
mode: "640"
|
||
|
size: "{{ mumble_web_nginx_dhparam_size }}"
|
||
|
async: 3600
|
||
|
poll: 0
|
||
|
changed_when: no
|
||
|
register: _mumble_web_nginx_dhparam
|