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
edx
configuration
Commits
e410b3ba
Commit
e410b3ba
authored
Nov 20, 2013
by
Will Daly
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #475 from edx/will/devstack-forum-permissions-fix
Added deploy tags for some local_dev tasks
parents
743fbe6b
7d4b6b8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
playbooks/roles/local_dev/tasks/main.yml
+3
-0
No files found.
playbooks/roles/local_dev/tasks/main.yml
View file @
e410b3ba
...
...
@@ -7,12 +7,14 @@
-
name
:
local_dev | set login shell for app accounts
user
:
name={{ item.user }} shell="/bin/bash"
with_items
:
"
{{
localdev_accounts
}}"
tags
:
deploy
# Ensure forum user has permissions to access .gem and .rbenv
# This is a little twisty: the forum role sets the owner and group to www-data
# So we add the forum user to the www-data group and give group write permissions
-
name
:
local_dev | add forum user to www-data group
user
:
name={{ forum_user }} groups={{ common_web_group }} append=yes
tags
:
deploy
-
name
:
local_dev | set forum rbenv and gem permissions
file
:
...
...
@@ -20,6 +22,7 @@
with_items
:
-
"
{{
forum_app_dir
}}/.gem"
-
"
{{
forum_app_dir
}}/.rbenv"
tags
:
deploy
# Create scripts to configure environment
-
name
:
local_dev | create login scripts
...
...
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