|
|
|
|
|
|
|
|
- name: {{ certificates_path }}/{{ dh_param }} |
|
|
- name: {{ certificates_path }}/{{ dh_param }} |
|
|
- contents_pillar: nginx:ng:dh_param:{{ dh_param }} |
|
|
- contents_pillar: nginx:ng:dh_param:{{ dh_param }} |
|
|
- makedirs: True |
|
|
- makedirs: True |
|
|
|
|
|
- watch_in: |
|
|
|
|
|
- service: nginx_service |
|
|
{%- else %} |
|
|
{%- else %} |
|
|
generate_nginx_dhparam_{{ dh_param }}_key: |
|
|
generate_nginx_dhparam_{{ dh_param }}_key: |
|
|
pkg.installed: |
|
|
pkg.installed: |
|
|
|
|
|
|
|
|
- name: openssl dhparam -out {{ dh_param }} {{ value.get('keysize', 2048) }} |
|
|
- name: openssl dhparam -out {{ dh_param }} {{ value.get('keysize', 2048) }} |
|
|
- cwd: {{ certificates_path }} |
|
|
- cwd: {{ certificates_path }} |
|
|
- creates: {{ certificates_path }}/{{ dh_param }} |
|
|
- creates: {{ certificates_path }}/{{ dh_param }} |
|
|
|
|
|
- watch_in: |
|
|
|
|
|
- service: nginx_service |
|
|
{%- endif %} |
|
|
{%- endif %} |
|
|
{%- endfor %} |
|
|
{%- endfor %} |
|
|
|
|
|
|