Commit d946e13b by Edward Zarecor

Merge pull request #2482 from edx/e0d/refactor-utils

E0d/refactor utils
parents 45978998 13bbf00e
--- ---
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
......
...@@ -88,22 +88,14 @@ COMMON_TAG_EC2_INSTANCE: False ...@@ -88,22 +88,14 @@ 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
......
---
#
# 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: []
---
#
# 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment