Commit 4f6a5d72 by Feanil Patel

Don't symlink the update script if we don't create it.

parent d9f61bfb
...@@ -34,6 +34,16 @@ ...@@ -34,6 +34,16 @@
- install - install
- install:configuration - install:configuration
- name: Create symlinks for update script
file:
src: "{{ edx_ansible_app_dir }}/update"
dest: "{{ COMMON_BIN_DIR }}/update"
state: link
when: devstack is not defined or not devstack
tags:
- install
- install:configuration
- name: Create utility scripts - name: Create utility scripts
template: template:
dest: "{{ edx_ansible_app_dir}}/{{ item.dest }}" dest: "{{ edx_ansible_app_dir}}/{{ item.dest }}"
...@@ -47,13 +57,12 @@ ...@@ -47,13 +57,12 @@
- install - install
- install:configuration - install:configuration
- name: Create symlinks for update and show-repo-heads scripts - name: Create symlinks for utility scripts
file: file:
src: "{{ edx_ansible_app_dir }}/{{ item }}" src: "{{ edx_ansible_app_dir }}/{{ item }}"
dest: "{{ COMMON_BIN_DIR }}/{{ item }}" dest: "{{ COMMON_BIN_DIR }}/{{ item }}"
state: link state: link
with_items: with_items:
- update
- show-repo-heads - show-repo-heads
tags: tags:
- install - install
......
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