Be root when generating dhparams

This is needed to write to the destination
This commit is contained in:
Jake Howard
2023-12-24 19:39:13 +00:00
parent 593a945c5c
commit 026d8db13e

View File

@ -31,6 +31,7 @@
- name: Generate Diffie-Hellman parameters - name: Generate Diffie-Hellman parameters
community.crypto.openssl_dhparam: community.crypto.openssl_dhparam:
path: /etc/nginx/dhparams.pem path: /etc/nginx/dhparams.pem
become: true
- name: Create config directories - name: Create config directories
file: file: