forked from ISTI-ansible-roles/ansible-roles
nginx: create the directory defined by the variable nginx_client_body_temp_dir, when the variable has been defined.
This commit is contained in:
parent
ce44423955
commit
6dfaef66d0
|
@ -6,6 +6,10 @@
|
|||
- name: Create the pki directory
|
||||
file: dest={{ pki_dir }}/nginx state=directory
|
||||
|
||||
- name: Create the client body tmp directory, if needed
|
||||
file: dest={{ nginx_client_body_temp_dir }}/nginx state=directory owner=www-data group=www-data mode=0700
|
||||
when: nginx_client_body_temp_dir is defined
|
||||
|
||||
- name: Create a dhparams file 2048 bits long
|
||||
shell: openssl dhparam -out {{ pki_dir }}/nginx/dhparams.pem 2048
|
||||
args:
|
||||
|
|
Loading…
Reference in New Issue