Commit 5e63cdaa by John Jarvis

moving the symlink creation to the deploy yml

parent df607a04
...@@ -326,3 +326,13 @@ ...@@ -326,3 +326,13 @@
with_items: edxapp_workers with_items: edxapp_workers
sudo_user: "{{ supervisor_service_user }}" sudo_user: "{{ supervisor_service_user }}"
tags: deploy tags: deploy
- name: edxapp | create a symlink for venv python
file: >
src="{{ edxapp_venv_bin }}/{{ item }}"
dest={{ COMMON_BIN_DIR }}/{{ item }}.edxapp
state=link
with_items:
- python
- pip
tags: deploy
...@@ -73,13 +73,3 @@ ...@@ -73,13 +73,3 @@
when: EDXAPP_PYTHON_SANDBOX when: EDXAPP_PYTHON_SANDBOX
- include: deploy.yml - include: deploy.yml
- name: edxapp | create a symlink for venv python
file: >
src="{{ edxapp_venv_bin }}/{{ item }}"
dest={{ COMMON_BIN_DIR }}/{{ item }}.edxapp
state=link
with_items:
- python
- pip
...@@ -127,3 +127,12 @@ ...@@ -127,3 +127,12 @@
state=started state=started
when: not devstack when: not devstack
tags: deploy tags: deploy
- name: ora | create a symlink for venv python
file: >
src="{{ ora_venv_bin }}/{{ item }}"
dest={{ COMMON_BIN_DIR }}/{{ item }}.ora state=link
with_items:
- python
- pip
tags: deploy
...@@ -50,10 +50,4 @@ ...@@ -50,10 +50,4 @@
- include: deploy.yml - include: deploy.yml
- name: ora | create a symlink for venv python
file: >
src="{{ ora_venv_bin }}/{{ item }}"
dest={{ COMMON_BIN_DIR }}/{{ item }}.ora state=link
with_items:
- python
- pip
...@@ -92,3 +92,13 @@ ...@@ -92,3 +92,13 @@
- xqueue - xqueue
- xqueue_consumer - xqueue_consumer
tags: deploy tags: deploy
- name: xqueue | create a symlink for venv python
file: >
src="{{ xqueue_venv_bin }}/{{ item }}"
dest={{ COMMON_BIN_DIR }}/{{ item }}.xqueue
state=link
with_items:
- python
- pip
tags: deploy
...@@ -45,15 +45,3 @@ ...@@ -45,15 +45,3 @@
when: xqueue_create_db is defined and xqueue_create_db|lower == "yes" when: xqueue_create_db is defined and xqueue_create_db|lower == "yes"
- include: deploy.yml - include: deploy.yml
- name: xqueue | create a symlink for venv python
file: >
src="{{ xqueue_venv_bin }}/{{ item }}"
dest={{ COMMON_BIN_DIR }}/{{ item }}.xqueue
state=link
with_items:
- python
- pip
...@@ -83,3 +83,12 @@ ...@@ -83,3 +83,12 @@
state=started state=started
tags: deploy tags: deploy
- name: xserver | create a symlink for venv python
file: >
src="{{ xserver_venv_bin }}/{{ item }}"
dest={{ COMMON_BIN_DIR }}/{{ item }}.xserver
state=link
with_items:
- python
- pip
tags: deploy
...@@ -66,13 +66,3 @@ ...@@ -66,13 +66,3 @@
- name: xserver | enforce app-armor rules - name: xserver | enforce app-armor rules
command: aa-enforce {{ xserver_venv_sandbox_dir }} command: aa-enforce {{ xserver_venv_sandbox_dir }}
- name: xserver | create a symlink for venv python
file: >
src="{{ xserver_venv_bin }}/{{ item }}"
dest={{ COMMON_BIN_DIR }}/{{ item }}.xserver
state=link
with_items:
- python
- pip
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