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
OpenEdx
configuration
Commits
748a7148
Commit
748a7148
authored
Sep 18, 2013
by
Jason Bau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edx-west staging playbook/config file update
parent
7faa6629
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
3 deletions
+19
-3
playbooks/edx-west/stage-ansible.cfg
+1
-1
playbooks/edx-west/stage-app.yml
+2
-2
playbooks/edx-west/stage-worker.yml
+16
-0
No files found.
playbooks/edx-west/stage-ansible.cfg
View file @
748a7148
...
...
@@ -17,5 +17,5 @@ user=ubuntu
[ssh_connection]
# example from https://github.com/ansible/ansible/blob/devel/examples/ansible.cfg
#ssh_args=-o ControlMaster=auto -o ControlPersist=60s -o ControlPath=/tmp/ansible-ssh-%h-%p-%r
ssh_args=-F stage-ssh-config
ssh_args=-F stage-ssh-config
-o ControlMaster=auto -o ControlPersist=60s -o ControlPath=/tmp/ansible-ssh-%h-%p-%r
scp_if_ssh=True
playbooks/edx-west/stage-app.yml
View file @
748a7148
...
...
@@ -3,8 +3,8 @@
sudo
:
True
vars_prompt
:
-
name
:
"
migrate_db"
prompt
:
"
Should
this
playbook
run
database
migrations?
(
<Return>
for
false,
anything
else
for
true
)"
default
:
false
prompt
:
"
Should
this
playbook
run
database
migrations?
(
Type
'yes'
to
run,
anything
else
to
skip
migrations
)"
default
:
"
no"
private
:
no
vars
:
not_prod
:
true
...
...
playbooks/edx-west/stage-worker.yml
0 → 100644
View file @
748a7148
# this gets all running stage util machiens
-
hosts
:
tag_environment_stage:&tag_function_util
# or we can get subsets of them by name
#- hosts: ~tag_Name_util(1|2)_stage
sudo
:
True
vars
:
secure_dir
:
../../../edx-secret/ansible
local_dir
:
../../../edx-secret/ansible/local
migrate_db
:
"
no"
vars_files
:
-
"
{{
secure_dir
}}/vars/edxapp_stage_vars.yml"
-
"
{{
secure_dir
}}/vars/users.yml"
-
"
{{
secure_dir
}}/vars/edxapp_stage_users.yml"
roles
:
-
common
-
{
role
:
'
edxapp'
,
celery_worker
:
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