fixed the unnecessary dot

parent 2bc5f266
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
- name: Create symlinks from the-er venv bin dir - name: Create symlinks from the-er venv bin dir
file: file:
src: "{{ ecommerce_venv_dir }}/bin/{{ item }}" src: "{{ ecommerce_venv_dir }}/bin/{{ item }}"
dest: "{{ COMMON_BIN_DIR }}/{{ item..split('.', 1) | first }}.ecommerce" dest: "{{ COMMON_BIN_DIR }}/{{ item.split('.', 1) | first }}.ecommerce"
state: link state: link
with_items: with_items:
- python - python
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
- name: Create symlinks from the repo dir - name: Create symlinks from the repo dir
file: file:
src: "{{ ecommerce_code_dir }}/{{ item }}" src: "{{ ecommerce_code_dir }}/{{ item }}"
dest: "{{ COMMON_BIN_DIR }}/{{ item..split('.', 1) | first }}.ecommerce" dest: "{{ COMMON_BIN_DIR }}/{{ item.split('.', 1) | first }}.ecommerce"
state: link state: link
with_items: with_items:
- manage.py - manage.py
......
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