-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbasic_packages.yml
91 lines (87 loc) · 1.62 KB
/
basic_packages.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#
# how to check security updates:
# http://www.cyberciti.biz/faq/redhat-fedora-centos-linux-yum-installs-security-updates/
#
---
- hosts: all
tasks:
- name: Install basic packages
yum: name=$item
state=installed
with_items:
- cronie
- mc
- htop
- iptraf-ng
- sysstat
- nmap
- mtr
- man
- git
- gcc
- gcc-c++
- python-pip
- python-devel
- python-crypto
- python-setuptools
- python-sqlite2
- pyOpenSSL
- make
- nodejs
- multitail
- rsstail
- yum-security
- xorg-x11-xauth
- jailkit
- libtool
- curl
- sqlite-devel
- sqlite
- xz
- pxz
when: ansible_os_family == "RedHat"
tags:
- packages
# TODO: nodejs and repos
- name: Install basic packages
apt: name=$item
state=installed
with_items:
- mc
- htop
- iptraf
- sysstat
- nmap
- mtr-tiny
- manpages
- git
- gcc
- g++
- python-pip
- python-crypto
- python-distutils-extra
- python-openssl
- python-dev
- make
- multitail
- rsstail
- xauth
- libtool
- python-software-properties
- software-properties-common
- curl
- miniupnpc
- sdparm
- liblzma-dev
when: ansible_os_family == "Debian"
tags:
- packages
- name: Install basic packages
apt: name=$item
state=installed
with_items:
- sysv-rc-conf
when: ansible_distribution == "Ubuntu"
tags:
- packages
- ubuntu