-
-
Notifications
You must be signed in to change notification settings - Fork 238
Expand file tree
/
Copy pathclean-build-dependencies.yml
More file actions
38 lines (37 loc) · 903 Bytes
/
clean-build-dependencies.yml
File metadata and controls
38 lines (37 loc) · 903 Bytes
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
# IMPORTANT: Do NOT use autoremove: true in these tasks!
# Autoremove causes cascading removal of cloud-init and breaks SSH on the AMI.
# Autoremove is handled safely in 90-cleanup.sh after apt-mark protection.
- name: Remove build dependencies
ansible.builtin.apt:
autoremove: false
pkg:
# Build tools installed by Ansible tasks
- bison
- build-essential
- clang-11
- cmake
- cpp
- flex
- g++
- g++-9
- g++-10
- gcc-10
- make
- ninja-build
- patch
- python2
# Dev headers installed for compilation
- libc6-dev
- libcrypt-dev
- libevent-dev
- libpcre3-dev
- libssl-dev
- linux-headers-aws
- linux-libc-dev
- pkg-config
- pkgconf
- pkgconf-bin
- zlib1g-dev
# Security: credential handling
- sshpass
state: 'absent'