fix file-exist check

This commit is contained in:
Robert Kaussow 2017-07-16 12:31:12 +02:00
parent 8c1db6d5c5
commit 3eec1f4b42

View File

@ -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: