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
d946e13b
Commit
d946e13b
authored
9 years ago
by
Edward Zarecor
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2482 from edx/e0d/refactor-utils
E0d/refactor utils
parents
45978998
13bbf00e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
74 additions
and
9 deletions
+74
-9
playbooks/roles/common/meta/main.yml
+1
-0
playbooks/roles/common_vars/defaults/main.yml
+1
-9
playbooks/roles/server_utils/defaults/main.yml
+42
-0
playbooks/roles/server_utils/tasks/main.yml
+30
-0
No files found.
playbooks/roles/common/meta/main.yml
View file @
d946e13b
---
---
dependencies
:
dependencies
:
-
common_vars
-
common_vars
-
server_utils
-
role
:
user
-
role
:
user
user_info
:
"
{{
COMMON_USER_INFO
}}"
user_info
:
"
{{
COMMON_USER_INFO
}}"
-
role
:
security
-
role
:
security
...
...
This diff is collapsed.
Click to expand it.
playbooks/roles/common_vars/defaults/main.yml
View file @
d946e13b
...
@@ -88,23 +88,15 @@ COMMON_TAG_EC2_INSTANCE: False
...
@@ -88,23 +88,15 @@ COMMON_TAG_EC2_INSTANCE: False
common_boto_version
:
'
2.34.0'
common_boto_version
:
'
2.34.0'
common_debian_pkgs
:
common_debian_pkgs
:
-
ntp
-
ntp
-
ack-grep
-
lynx-cur
-
lynx-cur
-
logrotate
-
logrotate
-
mosh
-
rsyslog
-
rsyslog
-
screen
-
tmux
-
tree
-
git
-
git
-
unzip
-
unzip
-
"
python2.7=2.7.10-0+precise1"
-
"
python2.7=2.7.10-0+precise1"
-
python-pip
-
python-pip
-
python2.7-dev
-
python2.7-dev
# Not installed by default on vagrant ubuntu
# boxes
-
curl
common_pip_pkgs
:
common_pip_pkgs
:
-
pip==7.1.2
-
pip==7.1.2
-
setuptools==18.3.2
-
setuptools==18.3.2
...
...
This diff is collapsed.
Click to expand it.
playbooks/roles/server_utils/defaults/main.yml
0 → 100644
View file @
d946e13b
---
#
# edX Configuration
#
# github: https://github.com/edx/configuration
# wiki: https://github.com/edx/configuration/wiki
# code style: https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions
# license: https://github.com/edx/configuration/blob/master/LICENSE.TXT
#
##
# Defaults for role server_utils
#
#
# vars are namespaced with the module name.
#
server_utils_role_name
:
server_utils
#
# OS packages
#
server_utils_debian_pkgs
:
# not sure why this is installed
-
ack-grep
# not sure why this is installed
-
mosh
# not sure why this is installed
# Not installed by default on vagrant ubuntu
# boxes.
# TODO: move to Vagrant role
-
curl
-
tree
-
screen
-
tmux
-
curl
-
vim-tiny
-
dnsutils
-
inetutils-telnet
-
netcat
server_utils_redhat_pkgs
:
[]
This diff is collapsed.
Click to expand it.
playbooks/roles/server_utils/tasks/main.yml
0 → 100644
View file @
d946e13b
---
#
# edX Configuration
#
# github: https://github.com/edx/configuration
# wiki: https://github.com/edx/configuration/wiki
# code style: https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions
# license: https://github.com/edx/configuration/blob/master/LICENSE.TXT
#
#
#
# Tasks for role server_utils
#
# Overview:
#
# Install useful interactive utilities for triange and debugging purposes.
# Typically these would not need to be available on servers as shell access
# is uneccessary.
#
# Example play:
#
#
-
name
:
Install system packages
apt
:
name
:
"
{{
item
}}"
install_recommends
:
yes
state
:
present
update_cache
:
yes
with_items
:
server_utils_debian_pkgs
This diff is collapsed.
Click to expand it.
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