Skip to content
Snippets Groups Projects
Commit 999e6af3 authored by BILAL EL HASNAOUI's avatar BILAL EL HASNAOUI
Browse files

Feat: Add CI pipeline to deploy the synapse application

parent 58158406
No related branches found
No related tags found
No related merge requests found
Pipeline #42855 failed
......@@ -16,4 +16,15 @@
- name: Restart nginx server.
service:
name: nginx
tate: restarted
\ No newline at end of file
tate: restarted
- name: Creates a crobjob to reload nginx every night in case the certificates are updated
ansible.builtin.cron:
name: reload nginx
minute: "0"
# 4am since the certbot cronjob
# runs at 3:30 am
hour: "4"
day: "*"
month: "*"
weekday: "*"
job: systemctl reload nginx
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment