Andreas B. Mundt
90d340a1d5
Make sure stuff exists when needed.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
85836e311e
Move container restart task to handlers.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
baba55e05a
Optional non-empty passwords for the container user.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
1b5f7ea0b5
Minor fixes and improvements.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
e058def667
Run in reverse order to remove the initial container last.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
cb5ade4c84
Provide 'sources.list' from the host and upgrade initial container.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
7bbfd817f8
Switch to persistent overlays.
...
With tmpfs the containers' disk space is too limited. Better keep
changes on the disk.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
fed5f71357
Instead of cloning the image, link to the rootfs. Provide more individual files.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
b920bdf52b
Provide playbook and role to deploy containers.
...
The containers are deployed for educational purposes with
user 'ansible' in the sudo group and an empty password.
SSH login is available via ports 10000 upwards on the host.
Port 80 is forwarded as well (ssh port + 100).
The container's rootfs is read only with an overlay: After
restart of the container, modifications are lost.
2023-02-07 19:15:50 +01:00