Async task: generate dh
parent
8caddedc68
commit
875c7cfb2e
|
@ -6,6 +6,8 @@
|
|||
creates: "{{ nginx_dh_path }}"
|
||||
when: nginx_dh is not string
|
||||
notify: reload nginx
|
||||
async: 1000
|
||||
register: dh
|
||||
|
||||
- name: COPY | Deploy DH file from vars
|
||||
copy: >
|
||||
|
@ -41,3 +43,9 @@
|
|||
notify: reload nginx
|
||||
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
|
||||
|
|
|
@ -186,7 +186,7 @@
|
|||
headers:
|
||||
'X-proxyfied': '1'
|
||||
- name: 'deleted.local'
|
||||
state: 'absent'
|
||||
state: 'absent'
|
||||
- name: 'redirect-to.local'
|
||||
redirect_to: 'http://test.local'
|
||||
- name: 'backuppc.local'
|
||||
|
@ -212,7 +212,7 @@
|
|||
redirect_https: true
|
||||
# - name: 'owncloud.local'
|
||||
# template: '_owncloud'
|
||||
nginx_dh_length: 1024
|
||||
nginx_dh_length: 2048
|
||||
roles:
|
||||
- ../../
|
||||
post_tasks:
|
||||
|
|
Loading…
Reference in New Issue