fix file-exist check
This commit is contained in:
parent
8c1db6d5c5
commit
3eec1f4b42
@ -120,7 +120,9 @@
|
|||||||
shell: "/usr/bin/openssl dhparam -out '{{ dhparam_file }}' {{ dhparam_size }}"
|
shell: "/usr/bin/openssl dhparam -out '{{ dhparam_file }}' {{ dhparam_size }}"
|
||||||
async: 3600
|
async: 3600
|
||||||
poll: 60
|
poll: 60
|
||||||
when: dh_file.stat.isfile is not defined
|
when: dh_file.stat.exists == 'false'
|
||||||
|
notify:
|
||||||
|
- nginx_reload
|
||||||
|
|
||||||
- name: Open ports in iptables
|
- name: Open ports in iptables
|
||||||
iptables_raw:
|
iptables_raw:
|
||||||
|
Loading…
Reference in New Issue
Block a user