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
841f3175
Commit
841f3175
authored
Jan 19, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setting *_installed facts for successful runs with --skip-tags deploy
parent
493dd55f
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
21 additions
and
13 deletions
+21
-13
playbooks/roles/certs/tasks/deploy.yml
+10
-0
playbooks/roles/certs/tasks/main.yml
+0
-10
playbooks/roles/discern/handlers/main.yml
+1
-0
playbooks/roles/discern/tasks/deploy.yml
+3
-0
playbooks/roles/edxapp/handlers/main.yml
+2
-2
playbooks/roles/edxapp/tasks/deploy.yml
+2
-0
playbooks/roles/forum/handlers/main.yml
+1
-1
playbooks/roles/forum/tasks/deploy.yml
+2
-0
No files found.
playbooks/roles/certs/tasks/deploy.yml
View file @
841f3175
...
...
@@ -66,3 +66,13 @@
config={{ supervisor_cfg }}
state=started
sudo_user
:
"
{{
supervisor_service_user
}}"
-
name
:
certs | create a symlink for venv python
file
:
>
src="{{ certs_venv_bin }}/{{ item }}"
dest={{ COMMON_BIN_DIR }}/{{ item }}.certs
state=link
notify
:
certs | restart certs
with_items
:
-
python
-
pip
playbooks/roles/certs/tasks/main.yml
View file @
841f3175
...
...
@@ -78,13 +78,3 @@
notify
:
certs | restart certs
-
include
:
deploy.yml tags=deploy
-
name
:
certs | create a symlink for venv python
file
:
>
src="{{ certs_venv_bin }}/{{ item }}"
dest={{ COMMON_BIN_DIR }}/{{ item }}.certs
state=link
notify
:
certs | restart certs
with_items
:
-
python
-
pip
playbooks/roles/discern/handlers/main.yml
View file @
841f3175
...
...
@@ -5,6 +5,7 @@
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
state=restarted
when
:
discern_installed is defined
with_items
:
-
discern
-
discern_celery
playbooks/roles/discern/tasks/deploy.yml
View file @
841f3175
...
...
@@ -120,3 +120,6 @@
src="{{ discern_venv_bin }}/python"
dest={{ COMMON_BIN_DIR }}/python.discern
state=link
-
set_fact
:
discern_installed=true
playbooks/roles/edxapp/handlers/main.yml
View file @
841f3175
...
...
@@ -5,7 +5,7 @@
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
name="edxapp:{{ item }}"
when
:
celery_worker is not defined and not devstack
when
:
edxapp_installed is defined and
celery_worker is not defined and not devstack
sudo_user
:
"
{{
supervisor_service_user
}}"
with_items
:
service_variants_enabled
...
...
@@ -15,6 +15,6 @@
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
state=restarted
when
:
celery_worker is defined and not devstack
when
:
edxapp_installed is defined and
celery_worker is defined and not devstack
with_items
:
edxapp_workers
sudo_user
:
"
{{
common_web_user
}}"
playbooks/roles/edxapp/tasks/deploy.yml
View file @
841f3175
...
...
@@ -295,3 +295,5 @@
when
:
celery_worker is defined and not devstack
with_items
:
edxapp_workers
sudo_user
:
"
{{
supervisor_service_user
}}"
-
set_fact
:
edxapp_installed=true
playbooks/roles/forum/handlers/main.yml
View file @
841f3175
...
...
@@ -5,4 +5,4 @@
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
state=restarted
when
:
not devstack
when
:
forum_installed is defined and
not devstack
playbooks/roles/forum/tasks/deploy.yml
View file @
841f3175
...
...
@@ -50,3 +50,5 @@
config={{ supervisor_cfg }}
state=started
when
:
not devstack
-
set_fact
:
forum_installed=true
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