Async task: generate dh
parent
8caddedc68
commit
875c7cfb2e
|
@ -6,6 +6,8 @@
|
||||||
creates: "{{ nginx_dh_path }}"
|
creates: "{{ nginx_dh_path }}"
|
||||||
when: nginx_dh is not string
|
when: nginx_dh is not string
|
||||||
notify: reload nginx
|
notify: reload nginx
|
||||||
|
async: 1000
|
||||||
|
register: dh
|
||||||
|
|
||||||
- name: COPY | Deploy DH file from vars
|
- name: COPY | Deploy DH file from vars
|
||||||
copy: >
|
copy: >
|
||||||
|
@ -41,3 +43,9 @@
|
||||||
notify: reload nginx
|
notify: reload nginx
|
||||||
no_log: true
|
no_log: true
|
||||||
|
|
||||||
|
- name: Check DH command status
|
||||||
|
async_status: jid={{ dh.ansible_job_id }}
|
||||||
|
register: job_result
|
||||||
|
until: job_result.finished
|
||||||
|
retries: 30
|
||||||
|
when: nginx_dh is not string
|
||||||
|
|
|
@ -212,7 +212,7 @@
|
||||||
redirect_https: true
|
redirect_https: true
|
||||||
# - name: 'owncloud.local'
|
# - name: 'owncloud.local'
|
||||||
# template: '_owncloud'
|
# template: '_owncloud'
|
||||||
nginx_dh_length: 1024
|
nginx_dh_length: 2048
|
||||||
roles:
|
roles:
|
||||||
- ../../
|
- ../../
|
||||||
post_tasks:
|
post_tasks:
|
||||||
|
|
Loading…
Reference in New Issue