Andreas B. Mundt
37c767ff0c
Rework systemd-networkd role.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
f9e8560f7b
Use systemd-resolved in the containers.
...
If the host uses systemd-networkd and systemd-resolved too, the
containers can be resolved from the host.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
3d3f0093ff
Run 'setup' only on setup.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
9e2a6a70e3
Fix warning about missing pseudo file systems.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
aa34a0a910
During preseeded install, apt-cacher is not yet available.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
6e350463e7
Fix preseeded ansible-pull run.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
5b24073291
Fix apt problems.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
d3e732bc89
Fix tasks that falsely report 'changes'.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
2c0a1c5392
Implement 'setup'-tag to re-setup the containers.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
0ed4230794
Split container package list.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
327f2eefac
Username variable.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
0c48d933e7
Add more packages to the container.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
245c08c125
Improve container management tasks.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
ae0c26b117
Fix too many open files error with more containers.
2023-02-07 19:15:50 +01:00
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
Andreas B. Mundt
ede02d4761
Run DB tasks only on nextcloud upgrade.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
1e44ff34c3
Move nextcloud upgrade to separate role.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
89ff43e126
Fix some '.well-known/' redirects.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
708f6df86c
Updates/fixes for bullseye and nextcloud 21.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
08cc1889fc
Fixes and shellcheck-cleanup.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
89545ab4a7
Make sure gnome-keyring-daemon is not started, it fails with sshfs.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
13993ef45e
Minor fixes for the DHCP and DNS setup.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
013c250e50
Fix/improve git-repo service.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
657185cd46
Deploy server's ssh pubkey to clients.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
4b5818b883
Add daily installer to menu for testing.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
4fab918db9
Work around missing domain name.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
16ac6d7169
Fixes for DHCP, DDNS.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
a6b408d866
Fix git-daemon service complaints.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
d8366d2ca2
Implement DNS (bind9) and DHCP (isc-dhcp-server) and TFTP (tftpd-hpa).
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
ebcfd88ef4
Restructuring/renaming DNS, DHCP, TFTP and netboot installer.
...
Idea: The role 'dnsmasq' and a new role 'dns-dhcp-tftp' are
drop-in replacements and interchangeable. 'netboot-installer'
works indepently of the role chosen for DNS, DHCP and TFTP.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
e55997a01c
Draft implementation of sambox-client.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
e5ae626936
Implement LAN server sharing home directories via smb or sshfs.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
c976c69bed
Move LDAP install/setup tasks into extra file.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
51f01858c1
Implement self signed certificate for slapd.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
318672dabc
Modifications need to be applied immediately.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
6bdd207f1e
Fix (not) reloading systemd service during installation.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
1b2707b474
Services are socket activated.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
d8ab7bc73e
Add data base maintenance command.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
c06aa6e519
Fix ending up with no link on WAN interface.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
3059ba0cd6
Make sure ansible is installed.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
d1bc338ef9
Web server playbook.
2021-10-20 17:11:06 +02:00
Andreas B. Mundt
42d3fa4c25
Desktop fine tuning (compare netboot image).
2021-10-14 11:41:11 +02:00