Add more packages to the container.
This commit is contained in:
parent
245c08c125
commit
0c48d933e7
2 changed files with 26 additions and 2 deletions
24
roles/educontainer/defaults/main.yml
Normal file
24
roles/educontainer/defaults/main.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
## generate most of this list with 'tasksel --task-packages standard'
|
||||
cont_packages:
|
||||
- systemd-container
|
||||
- openssh-server
|
||||
- sudo
|
||||
- python3
|
||||
- auto-apt-proxy
|
||||
|
||||
- bash-completion
|
||||
- bind9-dnsutils
|
||||
- file
|
||||
- locales
|
||||
- xz-utils
|
||||
- lsof
|
||||
- wget
|
||||
- bind9-host
|
||||
- man-db
|
||||
- ca-certificates
|
||||
- manpages
|
||||
- libc-l10n
|
||||
- traceroute
|
||||
- bzip2
|
||||
- netcat-traditional
|
||||
- telnet
|
|
@ -58,11 +58,11 @@
|
|||
- debootstrap
|
||||
state: latest
|
||||
|
||||
- name: debootstrap minimal system
|
||||
- name: debootstrap base system
|
||||
command:
|
||||
cmd: >
|
||||
debootstrap
|
||||
--include=systemd-container,openssh-server,sudo,python3,auto-apt-proxy
|
||||
--include={{ cont_packages | join(',') }}
|
||||
--components=main,contrib,non-free stable
|
||||
{{ contname }}00 http://deb.debian.org/debian
|
||||
args:
|
||||
|
|
Loading…
Add table
Reference in a new issue