-
Notifications
You must be signed in to change notification settings - Fork 21
/
Debian.yml
212 lines (205 loc) · 4.37 KB
/
Debian.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
- name: Install packages for ground base image
block:
- name: Install systemd and common tools
apt:
state: present
update_cache: yes
name:
- bash-completion
- bind9utils
- dbus
- e2fsprogs
- expect
- findutils
- firewalld
- gdb
- gdbserver
- git
- iproute2
- iputils-*
- ldap-utils
- ldb-tools
- less
- man
- mc
- net-tools
- openssh-client
- openssh-server
- passwd
- python3-pip
- rsync
- sudo
- systemd
- tcpdump
- tig
- tmux
- tshark
- vim
- wget
when: "'base_ground' in group_names"
- name: Enable backports repo to install freeipa
block:
- name: Enable backports repo
copy:
dest: /etc/apt/sources.list.d/backports.list
content: "deb http://deb.debian.org/debian bullseye-backports main"
owner: root
group: root
mode: '0644'
- name: Install packages for client base image
block:
- name: Install SSSD and its dependencies
apt:
state: present
update_cache: yes
name:
- adcli
- freeipa-client
- nfs-common
- nslcd
- packagekit
- realmd
- slapd
- sssd
- sssd-*
- name: Install test dependencies on client
apt:
state: present
update_cache: yes
name:
- augeas-tools
- binutils
when: "'base_client' in group_names or 'client' in group_names"
- name: Install packages for NFS base image
block:
- name: Install NFS
apt:
state: present
update_cache: yes
name:
- nfs-kernel-server
when: "'base_nfs' in group_names or 'nfs' in group_names"
- name: Install packages for KDC base image
block:
- name: Install KDC
apt:
state: present
update_cache: yes
name:
- krb5-admin-server
- krb5-config
- krb5-kdc
when: "'base_kdc' in group_names or 'kdc' in group_names"
- name: Install packages for Keycloak base image
block:
- name: Install ca-certificates-java first to avoid dep issues
apt:
state: present
update_cache: yes
name:
- ca-certificates-java
- name: Install Keycloak dependencies
apt:
state: present
update_cache: yes
name:
- openssl
- unzip
- ca-certificates
- openjdk-17-jre-headless
- curl
- jq
when: "'base_keycloak' in group_names"
- name: Install additional packages for client development image
block:
- name: Install SSSD build and integration tests dependencies
apt:
state: present
update_cache: yes
name:
- adcli
- autoconf
- automake
- autopoint
- check
- cifs-utils
- clang
- dh-apparmor
- dnsutils
- docbook-xml
- docbook-xsl
- fakeroot
- faketime
- gettext
- gnutls-bin
- krb5-admin-server
- krb5-config
- krb5-kdc
- krb5-user
- lcov
- libc-ares-dev
- libcmocka-dev
- libcollection-dev
- libcurl4-openssl-dev
- libdbus-1-dev
- libdhash-dev
- libglib2.0-dev
- libini-config-dev
- libjansson-dev
- libkeyutils-dev
- libkrad-dev
- libkrb5-dev
- libldap2-dev
- libldb-dev
- libltdl-dev
- libnfsidmap-dev
- libnl-3-dev
- libnl-route-3-dev
- libnspr4-dev
- libnss-wrapper
- libnss3-dev
- libp11-kit-dev
- libpam-wrapper
- libpam0g-dev
- libpcre2-dev
- libpcre3-dev
- libpopt-dev
- libsasl2-dev
- libselinux1-dev
- libsemanage-dev
- libsmbclient-dev
- libssl-dev
- libssl-dev
- libsystemd-dev
- libtalloc-dev
- libtdb-dev
- libtevent-dev
- libtool
- libtool-bin
- libuid-wrapper
- libunistring-dev
- libxml2-utils
- lsb-release
- make
- packagekit
- python3-dbus
- python3-dev
- python3-ldap
- python3-ldb
- python3-psutil
- python3-pycodestyle
- python3-pytest
- python3-requests
- samba-dev
- softhsm2
- uuid-dev
- valgrind
- xml-core
- xsltproc
- name: Install additional python packages
apt:
state: present
update_cache: yes
name:
- python3-flaky
when: "'client_devel' in group_names"