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
2abcfad5
Commit
2abcfad5
authored
Mar 05, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
local action for cert and key stat before copy
parent
d8414362
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
playbooks/roles/nginx/tasks/main.yml
+6
-2
No files found.
playbooks/roles/nginx/tasks/main.yml
View file @
2abcfad5
...
@@ -78,10 +78,14 @@
...
@@ -78,10 +78,14 @@
# Check to see if the ssl cert/key exists before copying.
# Check to see if the ssl cert/key exists before copying.
# This extra check is done to prevent failures when
# This extra check is done to prevent failures when
# ansible-playbook is run locally
# ansible-playbook is run locally
-
stat
:
path={{ NGINX_SSL_CERTIFICATE }}
-
local_action
:
module
:
stat
path
:
"
{{
NGINX_SSL_CERTIFICATE
}}"
register
:
ssl_cert
register
:
ssl_cert
-
stat
:
path={{ NGINX_SSL_KEY }}
-
local_action
:
module
:
stat
path
:
"
{{
NGINX_SSL_KEY
}}"
register
:
ssl_key
register
:
ssl_key
-
name
:
copy ssl cert
-
name
:
copy ssl cert
...
...
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