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
bfa62d20
Commit
bfa62d20
authored
Mar 03, 2014
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates to play and a fix to the role.
parent
214d22f1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
playbooks/edx-east/legacy_ora.yml
+5
-4
playbooks/roles/legacy_ora/tasks/main.yml
+2
-2
No files found.
playbooks/edx-east/legacy_ora.yml
View file @
bfa62d20
# ansible-playbook -i ec2.py --limit="tag_group_grader:&tag_environment_stage" legacy_ora.yml -e "COMMON_ENV
_TYPE=stage
secure_dir=/path/to/secure/dir"
# ansible-playbook -i ec2.py --limit="tag_group_grader:&tag_environment_stage" legacy_ora.yml -e "COMMON_ENV
IRONMENT=stage COMMON_DEPLOYMENT=edx
secure_dir=/path/to/secure/dir"
-
name
:
Deploy legacy_ora
hosts
:
all
sudo
:
True
gather_facts
:
True
vars
:
ora_app_dir
:
'
/opt/wwc'
ora_user
:
'
www-data'
serial
:
1
vars_files
:
-
"
{{secure_dir}}/vars/{{COMMON_ENVIRONMENT}}/legacy-ora.yml"
roles
:
-
legacy_ora
-
splunkforwarder
-
newrelic
playbooks/roles/legacy_ora/tasks/main.yml
View file @
bfa62d20
...
...
@@ -10,8 +10,8 @@
-
fail
:
msg="ora_user not defined. eg. ora, www-data"
when
:
ora_user is not defined
-
fail
:
msg="COMMON_ENV
_TYPE
not defined. eg. stage, prod"
when
:
COMMON_ENV
_TYPE
is not defined
-
fail
:
msg="COMMON_ENV
IRONMENT
not defined. eg. stage, prod"
when
:
COMMON_ENV
IRONMENT
is not defined
-
fail
:
msg="secure_dir not defined. This is a path to the secure ora config file."
when
:
secure_dir is not defined
...
...
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