Commit 0f385110 by Feanil Patel Committed by GitHub

Don't install `/edx/bin/update` on devstacks.

It doesn't work there and somewhat regularly causes confusion.
parent 89192081
...@@ -22,7 +22,19 @@ ...@@ -22,7 +22,19 @@
- install - install
- install:app-requirements - install:app-requirements
- name: Create update and show-repo-heads script - name: Create update script
template:
dest: "{{ edx_ansible_app_dir}}/update"
src: "update.j2"
owner: "{{ edx_ansible_user }}"
group: "{{ edx_ansible_user }}"
mode: "0755"
when: devstack is not defined or not devstack
tags:
- install
- install:configuration
- name: Create utility scripts
template: template:
dest: "{{ edx_ansible_app_dir}}/{{ item.dest }}" dest: "{{ edx_ansible_app_dir}}/{{ item.dest }}"
src: "{{ item.src }}" src: "{{ item.src }}"
...@@ -30,7 +42,6 @@ ...@@ -30,7 +42,6 @@
group: "{{ edx_ansible_user }}" group: "{{ edx_ansible_user }}"
mode: "0755" mode: "0755"
with_items: with_items:
- { src: 'update.j2', dest: 'update' }
- { src: 'show-repo-heads.j2', dest: 'show-repo-heads' } - { src: 'show-repo-heads.j2', dest: '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