Commit 7434d1b3 by John Jarvis

adding symlinks

parent 3e146e79
...@@ -29,3 +29,9 @@ ...@@ -29,3 +29,9 @@
src={{ edx_ansible_venv_bin }}/ansible-playbook src={{ edx_ansible_venv_bin }}/ansible-playbook
dest={{ COMMON_BIN_DIR }}/ansible-playbook dest={{ COMMON_BIN_DIR }}/ansible-playbook
state=link state=link
- name: create a symlink for the playbooks dir
file: >
src={{ edx_ansible_code_dir }}/playbooks
dest={{ COMMON_CFG_DIR }}/playbooks
state=link
...@@ -322,14 +322,22 @@ ...@@ -322,14 +322,22 @@
with_items: edxapp_workers with_items: edxapp_workers
sudo_user: "{{ supervisor_service_user }}" sudo_user: "{{ supervisor_service_user }}"
- name: create a symlink for venv python - name: create symlinks from the venv bin dir
file: > file: >
src="{{ edxapp_venv_bin }}/{{ item }}" src="{{ edxapp_venv_bin }}/{{ item }}"
dest={{ COMMON_BIN_DIR }}/{{ item }}.edxapp dest={{ COMMON_BIN_DIR }}/{{ item|basename }}.edxapp
state=link state=link
with_items: with_items:
- python - python
- pip - pip
- django-admin.py
- name: create symlinks from the repo dir
file: >
src="{{ edxapp_code_dir }}/{{ item }}"
dest={{ COMMON_BIN_DIR }}/{{ item|basename }}.edxapp
state=link
with_items:
- manage.py
- set_fact: edxapp_installed=true - set_fact: edxapp_installed=true
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