Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Synapse Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bilal El Hasnaoui
Synapse Ansible
Commits
999e6af3
Commit
999e6af3
authored
11 months ago
by
BILAL EL HASNAOUI
Browse files
Options
Downloads
Patches
Plain Diff
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
11 months ago
Stage: build
Stage: Config
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/nginx/tasks/main.yml
+12
-1
12 additions, 1 deletion
roles/nginx/tasks/main.yml
with
12 additions
and
1 deletion
roles/nginx/tasks/main.yml
+
12
−
1
View file @
999e6af3
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment