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
cfd5156b
Commit
cfd5156b
authored
Nov 15, 2013
by
John Jarvis
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #461 from edx/jarv/gpg-perms
Jarv/gpg perms
parents
63be9c88
5f6af054
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletions
+11
-1
playbooks/roles/certs/tasks/main.yml
+10
-1
util/jenkins/ansible-provision.sh
+1
-0
No files found.
playbooks/roles/certs/tasks/main.yml
View file @
cfd5156b
...
...
@@ -65,7 +65,7 @@
copy
:
>
src={{ CERTS_LOCAL_PRIVATE_KEY }}
dest={{ certs_app_dir }}/{{ CERTS_LOCAL_PRIVATE_KEY|basename }}
owner={{ certs_user }}
group={{ common_web_user }} mode=064
0
owner={{ certs_user }}
mode=060
0
notify
:
certs | restart certs
register
:
certs_gpg_key
...
...
@@ -77,6 +77,15 @@
when
:
certs_gpg_key.changed
notify
:
certs | restart certs
-
name
:
certs | set permission to the certs_gpg_dir so that it can be read by the web user
file
:
>
path={{ certs_gpg_dir }}
owner={{ certs_user }}
group={{ common_web_user }}
mode=0640 recurse=yes
state=directory
notify
:
certs | restart certs
-
include
:
deploy.yml
-
name
:
certs | create a symlink for venv python
...
...
util/jenkins/ansible-provision.sh
View file @
cfd5156b
...
...
@@ -18,6 +18,7 @@
# - environment
# - name_tag
export
PYTHONUNBUFFERED
=
1
export
BOTO_CONFIG
=
/var/lib/jenkins/
${
aws_account
}
.boto
if
[[
-z
$WORKSPACE
]]
;
then
...
...
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