Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
cb220fde
Commit
cb220fde
authored
Dec 07, 2017
by
Kshitij Sobti
Committed by
Sven Marnach
Dec 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restrict migration tasks to single host.
parent
80efc612
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
0 deletions
+8
-0
playbooks/roles/analytics_api/tasks/main.yml
+1
-0
playbooks/roles/ansible-role-django-ida/templates/tasks/main.yml.j2
+1
-0
playbooks/roles/edx_django_service/tasks/main.yml
+1
-0
playbooks/roles/edx_notes_api/tasks/main.yml
+1
-0
playbooks/roles/forum/tasks/deploy.yml
+2
-0
playbooks/roles/insights/tasks/main.yml
+1
-0
playbooks/roles/xqueue/tasks/deploy.yml
+1
-0
No files found.
playbooks/roles/analytics_api/tasks/main.yml
View file @
cb220fde
...
...
@@ -70,6 +70,7 @@
become_user
:
"
{{
analytics_api_user
}}"
environment
:
"
{{
analytics_api_environment
}}"
when
:
migrate_db is defined and migrate_db|lower == "yes"
run_once
:
yes
tags
:
-
migrate
-
migrate:db
...
...
playbooks/roles/ansible-role-django-ida/templates/tasks/main.yml.j2
View file @
cb220fde
...
...
@@ -60,6 +60,7 @@
sudo_user: "{{ '{{' }} {{ role_name }}_user }}"
environment: "{{ '{{' }} {{ role_name }}_migration_environment }}"
when: migrate_db is defined and migrate_db|lower == "yes"
run_once: yes
tags:
- migrate
- migrate:db
...
...
playbooks/roles/edx_django_service/tasks/main.yml
View file @
cb220fde
...
...
@@ -111,6 +111,7 @@
become_user
:
"
{{
edx_django_service_user
}}"
environment
:
"
{{
edx_django_service_migration_environment
}}"
when
:
migrate_db is defined and migrate_db|lower == "yes"
run_once
:
yes
tags
:
-
migrate
-
migrate:db
...
...
playbooks/roles/edx_notes_api/tasks/main.yml
View file @
cb220fde
...
...
@@ -67,6 +67,7 @@
environment
:
EDXNOTES_CONFIG_ROOT
:
"
{{
COMMON_CFG_DIR
}}"
when
:
migrate_db is defined and migrate_db|lower == "yes"
run_once
:
yes
tags
:
-
migrate
-
migrate:db
...
...
playbooks/roles/forum/tasks/deploy.yml
View file @
cb220fde
...
...
@@ -67,6 +67,7 @@
become_user
:
"
{{
forum_user
}}"
environment
:
"
{{
forum_base_env
}}"
when
:
migrate_db is defined and migrate_db|lower == "yes"
run_once
:
yes
tags
:
-
migrate
-
migrate:db
...
...
@@ -78,6 +79,7 @@
become_user
:
"
{{
forum_user
}}"
environment
:
"
{{
forum_base_env
}}"
when
:
migrate_db is defined and migrate_db|lower == "yes" and FORUM_REBUILD_INDEX|bool
run_once
:
yes
tags
:
-
migrate
-
migrate:db
...
...
playbooks/roles/insights/tasks/main.yml
View file @
cb220fde
...
...
@@ -70,6 +70,7 @@
become_user
:
"
{{
insights_user
}}"
environment
:
"
{{
insights_environment
}}"
when
:
migrate_db is defined and migrate_db|lower == "yes"
run_once
:
yes
tags
:
-
migrate
-
migrate:db
...
...
playbooks/roles/xqueue/tasks/deploy.yml
View file @
cb220fde
...
...
@@ -94,6 +94,7 @@
DB_MIGRATION_USER
:
"
{{
COMMON_MYSQL_MIGRATE_USER
}}"
DB_MIGRATION_PASS
:
"
{{
COMMON_MYSQL_MIGRATE_PASS
}}"
when
:
migrate_db is defined and migrate_db|lower == "yes" and COMMON_MYSQL_MIGRATE_PASS
run_once
:
yes
tags
:
-
migrate
-
migrate:db
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment