Commit f032546d by Feanil Patel Committed by GitHub

Merge pull request #3568 from edx/feanil/xqwatcher_supervisor

XQWatcher user doesn't have permissions to update supervisor or restart it.
parents 9168b348 3ad8b0f6
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
mode: "0600" mode: "0600"
when: XQWATCHER_GIT_IDENTITY != 'none' when: XQWATCHER_GIT_IDENTITY != 'none'
tags: tags:
- deploy
- install - install
- install:code - install:code
...@@ -19,6 +20,7 @@ ...@@ -19,6 +20,7 @@
group: "{{ xqwatcher_user }}" group: "{{ xqwatcher_user }}"
mode: "0644" mode: "0644"
tags: tags:
- deploy
- install - install
- install:configuration - install:configuration
...@@ -28,4 +30,4 @@ ...@@ -28,4 +30,4 @@
- include: deploy_courses.yml - include: deploy_courses.yml
tags: tags:
- deploy-courses - deploy-courses
\ No newline at end of file
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
config: "{{ supervisor_cfg }}" config: "{{ supervisor_cfg }}"
state: restarted state: restarted
when: not disable_edx_services when: not disable_edx_services
become_user: "{{ xqwatcher_user }}" become_user: "{{ common_web_user }}"
tags: tags:
- manage - manage
- manage:update - manage:update
...@@ -115,5 +115,3 @@ ...@@ -115,5 +115,3 @@
- include: code_jail.yml CODE_JAIL_COMPLAIN=false - include: code_jail.yml CODE_JAIL_COMPLAIN=false
- include: deploy.yml - include: deploy.yml
tags:
- deploy
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