diff --git a/roles/haproxy/tasks/main.yml b/roles/haproxy/tasks/main.yml index c35005a..70ff867 100644 --- a/roles/haproxy/tasks/main.yml +++ b/roles/haproxy/tasks/main.yml @@ -40,4 +40,10 @@ src: certbot-deploy.sh dest: /opt/certbot/certbot-deploy.sh mode: '0700' - notify: Run certbot \ No newline at end of file + notify: Run certbot + +- name: Install weekly haproxy reload + cron: + name: "haproxy reload" + special_time: weekly + job: "/bin/systemctl reload haproxy" \ No newline at end of file