Generate dhparams instead of using a checked in file
This commit is contained in:
parent
a03e50c933
commit
dcc52b04cc
1 changed files with 4 additions and 5 deletions
|
@ -10,11 +10,10 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"name": "place dhparams file",
|
||||
"become": true,
|
||||
"ansible.builtin.copy": {
|
||||
"src": "dhparam",
|
||||
"dest": "/etc/nginx/dhparam"
|
||||
"name": "generate dhparams file",
|
||||
"ansible.builtin.command": "openssl dhparam -out /etc/nginx/dhparam 4096",
|
||||
"args": {
|
||||
"creates": "/etc/nginx/dhparam"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue