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
f20fe05f
Commit
f20fe05f
authored
Feb 13, 2015
by
Max Rothman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Integrate edx_service role
parent
085013da
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
22 deletions
+17
-22
playbooks/roles/minos/defaults/main.yml
+12
-7
playbooks/roles/minos/meta/main.yml
+5
-3
playbooks/roles/minos/tasks/main.yml
+0
-6
playbooks/roles/minos/templates/edx/etc/minos/minos.yml.j2
+0
-6
No files found.
playbooks/roles/minos/defaults/main.yml
View file @
f20fe05f
...
...
@@ -12,17 +12,22 @@
#
MINOS_GIT_IDENTITY
:
!!null
MINOS_SERVICE_CONFIG
:
aws_profile
:
!!null
s3_bucket
:
edx-{{ COMMON_ENVIRONMENT }}-{{ COMMON_DEPLOYMENT }}
bucket_path
:
lifecycle/minos
voter_conf_d
:
"
{{
minos_voter_cfg
}}"
#
# vars are namespace with the module name.
#
minos_role_name
:
minos
minos_service_name
:
"
{{
minos_role_name
}}"
minos_data_dir
:
"
{{
COMMON_DATA_DIR
}}/minos"
minos_app_dir
:
"
{{
COMMON_APP_DIR
}}/minos"
minos_service_name
:
minos
minos_data_dir
:
"
{{
COMMON_DATA_DIR
}}/{{
minos_service_name
}}"
minos_app_dir
:
"
{{
COMMON_APP_DIR
}}/{{
minos_service_name
}}"
minos_venv_dir
:
"
{{
minos_app_dir
}}/venvs/"
minos_log_dir
:
"
{{
COMMON_LOG_DIR
}}/
minos
"
minos_cfg_file
:
"
{{
COMMON_CFG_DIR
}}/
minos
/minos.yml"
minos_voter_cfg
:
"
{{
COMMON_CFG_DIR
}}/
minos
/conf.d/"
minos_log_dir
:
"
{{
COMMON_LOG_DIR
}}/
{{
minos_service_name
}}
"
minos_cfg_file
:
"
{{
COMMON_CFG_DIR
}}/
{{
minos_service_name
}}
/minos.yml"
minos_voter_cfg
:
"
{{
COMMON_CFG_DIR
}}/
{{
minos_service_name
}}
/conf.d/"
minos_git_ssh
:
"
/tmp/git.sh"
minos_git_identity
:
"
{{
minos_app_dir
}}/minos-git-identity"
minos_edx_server_tools_repo
:
"
git@github.com/edx-ops/edx-minos.git"
...
...
playbooks/roles/minos/meta/main.yml
View file @
f20fe05f
...
...
@@ -20,5 +20,7 @@
# }
dependencies
:
-
role
:
edx_service
edx_role_name
:
"
{{
minos_role_name
}}"
edx_service_name
:
"
{{
minos_service_name
}}"
\ No newline at end of file
edx_service_name
:
"
{{
minos_service_name
}}"
edx_service_config
:
"
{{
MINOS_SERVICE_CONFIG
}}"
edx_service_user
:
root
edx_service_home
:
"
{{
minos_app_dir
}}"
\ No newline at end of file
playbooks/roles/minos/tasks/main.yml
View file @
f20fe05f
...
...
@@ -44,12 +44,6 @@
owner=root
group=root
mode=0755
-
name
:
create minos config
template
:
>
dest={{ minos_cfg_file }}
src=edx/etc/minos/minos.yml.j2
mode=0755 owner=root group=root
-
name
:
create minos voters configs
template
:
>
...
...
playbooks/roles/minos/templates/edx/etc/minos/minos.yml.j2
deleted
100644 → 0
View file @
085013da
---
aws_profile: !!null
s3_bucket: 'edx-{{ COMMON_ENVIRONMENT }}-{{ COMMON_DEPLOYMENT }}'
bucket_path: 'lifecycle/minos'
voter_conf_d: '{{ minos_voter_cfg }}'
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