Last active
December 27, 2018 04:40
-
-
Save WhiteyDude/5f59e4db264e88fe2e481f884defdb99 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- 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