-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdebian-deploy.yml
56 lines (53 loc) · 1.08 KB
/
debian-deploy.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
- hosts: debian-8 , debian-9 , ubuntu-12 , ubuntu-14 , ubuntu-16 , ubuntu-18
become: yes
tasks:
- name: Check for updates
apt:
update_cache: yes
cache_valid_time: 3600
- name: Remove packages
apt:
name: "{{ packages }}"
state: absent
vars:
packages:
- nfs-common
- nfs-kernel-server
- rpcbind
- exim4
- exim4-base
- exim4-config
- exim4-daemon-light
- name: Install packages
apt:
name: "{{ packages }}"
state: present
vars:
packages:
- debian-archive-keyring
- sudo
- beep
- zerofree
- sysvbanner
- linuxlogo
- screen
- tmux
- byobu
- vlock
- ncdu
- sshpass
- imvirt
- iptables-persistent
- iftop
- iotop
- nicstat
- ngrep
- dsniff
- tcpdump
- tshark
- vim
- unattended-upgrades
- rng-tools
- ntp
- postfix
- bsd-mailx