Commit e410b3ba by Will Daly

Merge pull request #475 from edx/will/devstack-forum-permissions-fix

Added deploy tags for some local_dev tasks
parents 743fbe6b 7d4b6b8d
...@@ -7,12 +7,14 @@ ...@@ -7,12 +7,14 @@
- name: local_dev | set login shell for app accounts - name: local_dev | set login shell for app accounts
user: name={{ item.user }} shell="/bin/bash" user: name={{ item.user }} shell="/bin/bash"
with_items: "{{ localdev_accounts }}" with_items: "{{ localdev_accounts }}"
tags: deploy
# Ensure forum user has permissions to access .gem and .rbenv # 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 # 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 # 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 - name: local_dev | add forum user to www-data group
user: name={{ forum_user }} groups={{ common_web_group }} append=yes user: name={{ forum_user }} groups={{ common_web_group }} append=yes
tags: deploy
- name: local_dev | set forum rbenv and gem permissions - name: local_dev | set forum rbenv and gem permissions
file: file:
...@@ -20,6 +22,7 @@ ...@@ -20,6 +22,7 @@
with_items: with_items:
- "{{ forum_app_dir }}/.gem" - "{{ forum_app_dir }}/.gem"
- "{{ forum_app_dir }}/.rbenv" - "{{ forum_app_dir }}/.rbenv"
tags: deploy
# Create scripts to configure environment # Create scripts to configure environment
- name: local_dev | create login scripts - name: local_dev | create login scripts
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment