Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
5abc04ef
Commit
5abc04ef
authored
May 03, 2016
by
Sven Marnach
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2983 from open-craft/smarnach/nginx-reload
Restart nginx after copying the configuration.
parents
7fe8ab35
cc5f248b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
playbooks/roles/nginx/tasks/main.yml
+11
-0
No files found.
playbooks/roles/nginx/tasks/main.yml
View file @
5abc04ef
...
...
@@ -310,6 +310,17 @@
-
install
-
install:configuration
# nginx is started during package installation, before any of the configuration files are in place.
# The handler that reloads the configuration would be run only at the very end of the playbook, so
# none of the local services would be available in the meantime, e.g. causing certs to error out
# since it can't reach xqueue on the its nginx port. For this reason, we flush the handlers here
# to ensure the nginx configuration is reloaded when necessary.
-
name
:
Restart or reload nginx if necessary
meta
:
flush_handlers
tags
:
-
install
-
install:configuration
# If tasks that notify restart nginx don't change the state of the remote system
# their corresponding notifications don't get run. If nginx has been stopped for
# any reason, this will ensure that it is started up again.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment