Commit 743be615 by Ned Batchelder

We don't need git_2_0_1 any more, since we are on Ansible 2 now

parent 9168b348
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
- name: stop certs service - name: stop certs service
service: name="certificates" state="stopped" service: name="certificates" state="stopped"
- name: checkout code - name: checkout code
git_2_0_1: git:
repo: "{{ repo_url }}" repo: "{{ repo_url }}"
dest: "{{ repo_path }}" dest: "{{ repo_path }}"
version: "{{ certificates_version }}" version: "{{ certificates_version }}"
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
notify: restart alton notify: restart alton
- name: Checkout the code - name: Checkout the code
git_2_0_1: git:
dest: "{{ alton_code_dir }}" dest: "{{ alton_code_dir }}"
repo: "{{ alton_source_repo }}" repo: "{{ alton_source_repo }}"
version: "{{ alton_version }}" version: "{{ alton_version }}"
......
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
- install:configuration - install:configuration
- name: Util library source checked out - name: Util library source checked out
git_2_0_1: git:
repo: "{{ analytics_pipeline_util_library.repo }}" repo: "{{ analytics_pipeline_util_library.repo }}"
dest: "{{ analytics_pipeline_util_library.path }}" dest: "{{ analytics_pipeline_util_library.path }}"
version: "{{ analytics_pipeline_util_library.version }}" version: "{{ analytics_pipeline_util_library.version }}"
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
when: CERTS_GIT_IDENTITY != "none" when: CERTS_GIT_IDENTITY != "none"
- name: "Checkout certificates repo into {{ certs_code_dir }}" - name: "Checkout certificates repo into {{ certs_code_dir }}"
git_2_0_1: git:
dest: "{{ certs_code_dir }}" dest: "{{ certs_code_dir }}"
repo: "{{ CERTS_REPO }}" repo: "{{ CERTS_REPO }}"
version: "{{ certs_version }}" version: "{{ certs_version }}"
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
when: CERTS_GIT_IDENTITY != "none" when: CERTS_GIT_IDENTITY != "none"
- name: Checkout certificates repo into {{ certs_code_dir }} - name: Checkout certificates repo into {{ certs_code_dir }}
git_2_0_1: git:
dest: "{{ certs_code_dir }}" dest: "{{ certs_code_dir }}"
repo: "{{ CERTS_REPO }}" repo: "{{ CERTS_REPO }}"
version: "{{ certs_version }}" version: "{{ certs_version }}"
......
--- ---
- name: check out the demo course - name: check out the demo course
git_2_0_1: git:
dest: "{{ demo_code_dir }}" dest: "{{ demo_code_dir }}"
repo: "{{ demo_repo }}" repo: "{{ demo_repo }}"
version: "{{ demo_version }}" version: "{{ demo_version }}"
......
--- ---
- name: Git checkout edx_ansible repo into edx_ansible_code_dir - name: Git checkout edx_ansible repo into edx_ansible_code_dir
git_2_0_1: git:
dest: "{{ edx_ansible_code_dir }}" dest: "{{ edx_ansible_code_dir }}"
repo: "{{ edx_ansible_source_repo }}" repo: "{{ edx_ansible_source_repo }}"
version: "{{ configuration_version }}" version: "{{ configuration_version }}"
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
# Do A Checkout # Do A Checkout
- name: checkout edx-platform repo into {{ edxapp_code_dir }} - name: checkout edx-platform repo into {{ edxapp_code_dir }}
git_2_0_1: git:
dest: "{{ edxapp_code_dir }}" dest: "{{ edxapp_code_dir }}"
repo: "{{ edx_platform_repo }}" repo: "{{ edx_platform_repo }}"
version: "{{ edx_platform_version }}" version: "{{ edx_platform_version }}"
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
# (yes, lowercase) to a Stanford-style theme and set # (yes, lowercase) to a Stanford-style theme and set
# edxapp_theme_name (again, lowercase) to its name. # edxapp_theme_name (again, lowercase) to its name.
- name: checkout Stanford-style theme - name: checkout Stanford-style theme
git_2_0_1: git:
dest: "{{ edxapp_app_dir }}/themes/{{ edxapp_theme_name }}" dest: "{{ edxapp_app_dir }}/themes/{{ edxapp_theme_name }}"
repo: "{{ edxapp_theme_source_repo }}" repo: "{{ edxapp_theme_source_repo }}"
version: "{{ edxapp_theme_version }}" version: "{{ edxapp_theme_version }}"
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
- install:configuration - install:configuration
- name: git checkout forum repo into {{ forum_code_dir }} - name: git checkout forum repo into {{ forum_code_dir }}
git_2_0_1: git:
dest: "{{ forum_code_dir }}" dest: "{{ forum_code_dir }}"
repo: "{{ forum_source_repo }}" repo: "{{ forum_source_repo }}"
version: "{{ forum_version }}" version: "{{ forum_version }}"
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
- install:code - install:code
- name: Checkout code over ssh - name: Checkout code over ssh
git_2_0_1: git:
repo: "git@{{ item.DOMAIN }}:{{ item.PATH }}/{{ item.REPO }}" repo: "git@{{ item.DOMAIN }}:{{ item.PATH }}/{{ item.REPO }}"
dest: "{{ item.DESTINATION }}" dest: "{{ item.DESTINATION }}"
version: "{{ item.VERSION }}" version: "{{ item.VERSION }}"
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
- install:code - install:code
- name: Checkout code over https - name: Checkout code over https
git_2_0_1: git:
repo: "https://{{ item.DOMAIN }}/{{ item.PATH }}/{{ item.REPO }}" repo: "https://{{ item.DOMAIN }}/{{ item.PATH }}/{{ item.REPO }}"
dest: "{{ item.DESTINATION }}" dest: "{{ item.DESTINATION }}"
version: "{{ item.VERSION }}" version: "{{ item.VERSION }}"
......
# Tasks to run if cloning repos to edx-platform. # Tasks to run if cloning repos to edx-platform.
- name: clone all course repos - name: clone all course repos
git_2_0_1: dest={{ GITRELOAD_REPODIR }}/{{ item.name }} repo={{ item.url }} version={{ item.commit }} git: dest={{ GITRELOAD_REPODIR }}/{{ item.name }} repo={{ item.url }} version={{ item.commit }}
become_user: "{{ common_web_user }}" become_user: "{{ common_web_user }}"
with_items: "{{ GITRELOAD_REPOS }}" with_items: "{{ GITRELOAD_REPOS }}"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
mode: 0755 mode: 0755
- name: check out the harprofiler - name: check out the harprofiler
git_2_0_1: git:
dest: "{{ harprofiler_dir }}" dest: "{{ harprofiler_dir }}"
repo: "{{ harprofiler_github_url }}" repo: "{{ harprofiler_github_url }}"
version: "{{ harprofiler_version }}" version: "{{ harprofiler_version }}"
......
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
# upstream, we may be able to use the regular plugin install process. # upstream, we may be able to use the regular plugin install process.
# Until then, we compile and install the forks ourselves. # Until then, we compile and install the forks ourselves.
- name: Checkout custom plugin repo - name: Checkout custom plugin repo
git_2_0_1: git:
repo: "{{ item.repo_url }}" repo: "{{ item.repo_url }}"
dest: "/tmp/{{ item.repo_name }}" dest: "/tmp/{{ item.repo_name }}"
version: "{{ item.version }}" version: "{{ item.version }}"
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# refers to the --depth-setting of git clone. A value of 1 # refers to the --depth-setting of git clone. A value of 1
# will truncate all history prior to the last revision. # will truncate all history prior to the last revision.
- name: Create shallow clone of edx-platform - name: Create shallow clone of edx-platform
git_2_0_1: git:
repo: https://github.com/edx/edx-platform.git repo: https://github.com/edx/edx-platform.git
dest: "{{ jenkins_home }}/shallow-clone" dest: "{{ jenkins_home }}/shallow-clone"
version: "{{ jenkins_edx_platform_version }}" version: "{{ jenkins_edx_platform_version }}"
......
--- ---
- name: Checkout code - name: Checkout code
git_2_0_1: git:
dest: "{{ NOTIFIER_CODE_DIR }}" dest: "{{ NOTIFIER_CODE_DIR }}"
repo: "{{ NOTIFIER_SOURCE_REPO }}" repo: "{{ NOTIFIER_SOURCE_REPO }}"
version: "{{ NOTIFIER_VERSION }}" version: "{{ NOTIFIER_VERSION }}"
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
when: NOTIFIER_GIT_IDENTITY != "" when: NOTIFIER_GIT_IDENTITY != ""
- name: Checkout theme - name: Checkout theme
git_2_0_1: git:
dest: "{{ NOTIFIER_CODE_DIR }}/{{ NOTIFIER_THEME_NAME }}" dest: "{{ NOTIFIER_CODE_DIR }}/{{ NOTIFIER_THEME_NAME }}"
repo: "{{ NOTIFIER_THEME_REPO }}" repo: "{{ NOTIFIER_THEME_REPO }}"
version: "{{ NOTIFIER_THEME_VERSION }}" version: "{{ NOTIFIER_THEME_VERSION }}"
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
- install:base - install:base
- name: update rbenv repo - name: update rbenv repo
git_2_0_1: git:
repo: https://github.com/sstephenson/rbenv.git repo: https://github.com/sstephenson/rbenv.git
dest: "{{ rbenv_dir }}/.rbenv" dest: "{{ rbenv_dir }}/.rbenv"
version: "{{ rbenv_version }}" version: "{{ rbenv_version }}"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
# #
- name: Create clone of edx-platform - name: Create clone of edx-platform
git_2_0_1: git:
repo: "https://github.com/edx/edx-platform.git" repo: "https://github.com/edx/edx-platform.git"
dest: "{{ test_build_server_repo_path }}/edx-platform-clone" dest: "{{ test_build_server_repo_path }}/edx-platform-clone"
version: "{{ test_edx_platform_version }}" version: "{{ test_edx_platform_version }}"
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
# Do A Checkout # Do A Checkout
- name: "Git checkout xqueue repo into {{ xqueue_code_dir }}" - name: "Git checkout xqueue repo into {{ xqueue_code_dir }}"
git_2_0_1: git:
repo: "{{ xqueue_source_repo }}" repo: "{{ xqueue_source_repo }}"
dest: "{{ xqueue_code_dir }}" dest: "{{ xqueue_code_dir }}"
version: "{{ xqueue_version }}" version: "{{ xqueue_version }}"
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# a per queue basis. # a per queue basis.
- name: Checkout grader code - name: Checkout grader code
git_2_0_1: git:
repo: "{{ item.GIT_REPO }}" repo: "{{ item.GIT_REPO }}"
dest: "{{ xqwatcher_app_dir }}/data/{{ item.COURSE }}" dest: "{{ xqwatcher_app_dir }}/data/{{ item.COURSE }}"
version: "{{ item.GIT_REF }}" version: "{{ item.GIT_REF }}"
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
- restart xserver - restart xserver
- name: Checkout code - name: Checkout code
git_2_0_1: git:
dest: "{{ xserver_code_dir }}" dest: "{{ xserver_code_dir }}"
repo: "{{ xserver_source_repo }}" repo: "{{ xserver_source_repo }}"
version: "{{xserver_version}}" version: "{{xserver_version}}"
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
- restart xserver - restart xserver
- name: Checkout grader code - name: Checkout grader code
git_2_0_1: git:
dest: "{{ XSERVER_GRADER_DIR }}" dest: "{{ XSERVER_GRADER_DIR }}"
repo: "{{ XSERVER_GRADER_SOURCE }}" repo: "{{ XSERVER_GRADER_SOURCE }}"
version: "{{ xserver_grader_version }}" version: "{{ xserver_grader_version }}"
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
notify: restart xsy notify: restart xsy
- name: Checkout the code - name: Checkout the code
git_2_0_1: git:
dest: "{{ xsy_code_dir }}" dest: "{{ xsy_code_dir }}"
repo: "{{ xsy_source_repo }}" repo: "{{ xsy_source_repo }}"
version: "{{ xsy_version }}" version: "{{ xsy_version }}"
......
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