Commit fbefa0ed by Max Rothman

Add creating etc and var dirs to edx_service

parent 6648f533
......@@ -126,6 +126,6 @@
state=restarted
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
name="edxapp:{{ item }}"
name={{ analytics_api_service_name }}
when: not disable_edx_services
sudo_user: "{{ supervisor_service_user }}"
......@@ -64,6 +64,17 @@
- "data"
- "staticfiles"
- name: create /edx/var and /edx/etc dirs
file: >
path="{{ item }}/{{ edx_service_name }}"
state=directory
owner={{ edx_service_user }}
group={{ common_web_group }}
mode=0755
with_items:
- /edx/var
- /edx/etc
- name: create edx_service log dir
file: >
path="{{ item }}"
......
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