|
@ -5,7 +5,7 @@ |
|
|
|
|
|
|
|
|
- name: Get LetsEncrypt Certificates |
|
|
- name: Get LetsEncrypt Certificates |
|
|
import_tasks: letsencrypt.yml |
|
|
import_tasks: letsencrypt.yml |
|
|
when: (stat_results.stat.mtime is defined and (ansible_date_time.epoch|int - stat_results.stat.mtime) > (90 * 60 * 60 * 24)) |
|
|
|
|
|
|
|
|
when: (stat_results.stat.mtime is undefined or (ansible_date_time.epoch|int - stat_results.stat.mtime) > (90 * 60 * 60 * 24)) |
|
|
|
|
|
|
|
|
- name: Copy Apache config |
|
|
- name: Copy Apache config |
|
|
template: |
|
|
template: |
|
|