summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-05-03Add clone URLs for repositoriesDmitry Ilvokhin
2024-05-03Do not export everything with git-daemonDmitry Ilvokhin
We should export only repositories with git-daemon-export-ok file inside.
2024-05-03Rename .htpasswd to htpasswdDmitry Ilvokhin
2024-05-03Add dots to commentsDmitry Ilvokhin
2024-05-03List repositories explicitly instead of scan-pathDmitry Ilvokhin
This allowes to have private repositories on the same server.
2024-04-26Remove favicon from cgitDmitry Ilvokhin
We set root to /usr/share/webapps/cgit for cgit location. This directory contains favicon which served automatically. One way to stop it is to remove favicon, but every package update will bring it back in. So I just hardcoded into nginx config return code of 404 for favicon request to do not serve it.
2024-04-26Fix indent in nginx config for cgitDmitry Ilvokhin
2024-04-20Wrap text at 72 width for mail messagesDmitry Ilvokhin
2024-04-20Remove fail2ban installation from TODODmitry Ilvokhin
Decided not to do it after reading ArchWiki.
2024-04-20Use systemd service instead of service for certbotDmitry Ilvokhin
To properly reload systemd in case of changes in unit file.
2024-04-20Add paccache role to all hostsDmitry Ilvokhin
2024-04-19Remove user from ssh config as d is default userDmitry Ilvokhin
2024-04-19Use user d for connection to mailDmitry Ilvokhin
2024-04-19Migrate mail to Ansible based setupDmitry Ilvokhin
2024-04-19Fix postfix virtual_transport: use dovecot-lmtpDmitry Ilvokhin
2024-04-19Migrate postfix from hash to lmdb dbDmitry Ilvokhin
2024-04-19Setup lmtp protocol for dovecotDmitry Ilvokhin
2024-04-14Add `systemctl daemon-reload` item in TODODmitry Ilvokhin
2024-04-14Make certificate updates work for nginxDmitry Ilvokhin
Currently, we obtain certificates from Let's Encrypt with standalone mode, so when we do renew, certbot tries to run it is own webserver on port 80, but this port is already in use by nginx. Stop nginx, before renewal. This is quite hacky, but should work. Proper solution is to split certificate role by standalone and non-standalone versions.
2024-04-07Add master.cf file to postfix roleDmitry Ilvokhin
Enable submission to send mail.
2024-04-07Reverse dependency chain dovecot -> postfixDmitry Ilvokhin
Postfix can start without dovecot, but dovecot can't without postfix, because it uses postfix user to create unix socket.
2024-04-07Add lsof to minimal installationDmitry Ilvokhin
2024-04-07Update TODO with items to do laterDmitry Ilvokhin
2024-04-07Set proper hostname and restrict trusted networksDmitry Ilvokhin
2024-04-07Add forgotten handler for alias updateDmitry Ilvokhin
2024-04-07Setup correct alias for root mailDmitry Ilvokhin
2024-04-06Add mail playbook for mail server setupDmitry Ilvokhin
2024-04-06Add postfix roleDmitry Ilvokhin
2024-04-06Add dovecot roleDmitry Ilvokhin
2024-04-06Add certmail roleDmitry Ilvokhin
Certificate are required for both dovecot and postfix roles. This role is to simplify reuse of the same logic.
2024-04-06Listen inet socket instread of unix for opendkimDmitry Ilvokhin
This is done to avoid putting postfix and opendkim at the same group.
2024-03-31Manually create directories for certbot hooksDmitry Ilvokhin
2024-03-31Swap order of nginx enablement and cert hookDmitry Ilvokhin
2024-03-31Migrate to certbot hook scriptsDmitry Ilvokhin
Make hooks usage a bit more generic, to apply hooks for services different from nginx.
2024-03-30Remove favicon deletion from cgit roleDmitry Ilvokhin
Favicon is back after each cgit package update. I don't think it worth it to fight with it. Nginx serves content out of /usr/share/webapps/cgit, which has some useful files inside as well and it doesn't really make sense to move working directory to different one either. For long term maintainability reasons lets use a default favicon.
2024-03-30Fix `LC_CTYPE` value on macOS in bashrcDmitry Ilvokhin
2024-03-24Add opendkim roleDmitry Ilvokhin
2024-03-24Configure nginx first and then enable/startDmitry Ilvokhin
2024-03-23Remove git from minimal roleDmitry Ilvokhin
2024-03-11Add tags to dotfiles roleDmitry Ilvokhin
2024-03-11Add dotfiles tag to all dotfiles tasksDmitry Ilvokhin
2024-03-10Add master playbook to setup everything at onceDmitry Ilvokhin
2024-03-09Add gdb roleDmitry Ilvokhin
2024-03-09Add role for mutt mail clientDmitry Ilvokhin
2024-03-09Add git roleDmitry Ilvokhin
This role is not used anywhere yet, so it wasn't properly tested.
2024-03-09Limit git commit messages width to 72 charactersDmitry Ilvokhin
2024-03-08Add proper indent settings for yaml and makefilesDmitry Ilvokhin
2024-03-08Add ssh roleDmitry Ilvokhin
2024-03-03Try to remove set of localeDmitry Ilvokhin
There is no en_US.UTF-8 locale in Arch Linux out of the box. Try to remove explicit set of locale and see what will break. I set it initially, because some of the servers had russian locale back in the days, but I am not sure this is still true somewhere.
2024-03-03Add role for bashDmitry Ilvokhin