Skip to content

Instantly share code, notes, and snippets.

@WhiteyDude
Last active December 27, 2018 04:40
Show Gist options
  • Save WhiteyDude/5f59e4db264e88fe2e481f884defdb99 to your computer and use it in GitHub Desktop.
Save WhiteyDude/5f59e4db264e88fe2e481f884defdb99 to your computer and use it in GitHub Desktop.
---
- hosts: all
become: true
become_user: "root"
become_method: sudo
tasks:
- name: Enable epel
shell:
cmd: '/usr/bin/amazon-linux-extras enable epel'
- name: Install epel
yum:
pkg: epel-release
state: present
- name: Run a yum update -y
yum:
name: '*'
state: latest
- name: Install monitoring/admin packages
yum:
name:
- htop
- telnet
- vim
- tcpdump
- screen
- vnstat
- bind-utils
- mtr
- git
state: present
- name: Install common build/devel packages
yum:
name:
- kernel-headers
- gcc
- gcc-c++
- cpp
- ncurses
- ncurses-devel
- libxml2
- libxml2-devel
- sqlite
- sqlite-devel
- openssl-devel
- newt-devel
- kernel-devel
- libuuid-devel
- net-snmp-devel
- bzip2
#- jansson-devel
- make
- patch
- libedit-devel
- lua
- lua-devel
- unzip
- mariadb-devel
- mariadb-libs
- readline
- readline-devel
state: present
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment