summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-06-30Update python dependencities to make dependabot happyDmitry Ilvokhin
2024-06-30Use `delegate_to` instead of `local_action`Dmitry Ilvokhin
2024-06-30Use `ansible.builtin.shell` instead of `cmd`Dmitry Ilvokhin
2024-06-30Add yamllint linter and supporting scriptDmitry Ilvokhin
2024-06-30Fix one more missing `yes` usageDmitry Ilvokhin
2024-06-30Cleanup quotes usage in YAML filesDmitry Ilvokhin
Seems quotes in YAML is a mess. Official guidelines (see explanation here [1]) are following. 1. If you can get away without quotes, do not use them. 2. Use single quotes if you need quotes. 3. Use double quotes if you can't use single quotes for some reason. Common reason for double quotes in this repository is line breaks for long lines and control characters (\n, \t) in replacement patterns. Hope, I didn't break anything. Tested with following commands, because there are no changes in others. $ ansible-playbook dotfiles.yml $ ansible-playbook master.yml [1]: https://stackoverflow.com/a/69850618/1313516
2024-06-30Remove upgrade item from TODO.txtDmitry Ilvokhin
2024-06-30Migrate from `yes` to `true`Dmitry Ilvokhin
2024-06-29Add wg-quick@wgtor0 as dependency to torDmitry Ilvokhin
Otherwise tor could not bind ports on wgtor0 ip addresses as it wasn't up yet.
2024-06-29Add all DigitalOcean hosts to sysupgrade playbookDmitry Ilvokhin
2024-06-23Remove trailing spacesDmitry Ilvokhin
2024-06-23Add TODO item about lintersDmitry Ilvokhin
2024-06-23Rename vaults -> secretsDmitry Ilvokhin
2024-06-23Introduce sysupgrade playbookDmitry Ilvokhin
Playbook sysupgrade.yml is a attempt to do automatic full system upgrade. Currently logic is completely automated for happy path. 1. Shutdown machine. 2. Take snapshot from the machine. 3. Power on machine back. 4. Update archlinux-keyring. 5. Upgrade everything. 6. Reboot. If something is working, then we are done. Otherwise, restore from snapshot manually and try to figure out what went wrong.
2024-06-23Make `bin/rotate-vault-password` a bit more robustDmitry Ilvokhin
2024-06-22Rename Github API token in keychainDmitry Ilvokhin
2024-06-16Do not set gate as `ProxyJump` on gate host itselfDmitry Ilvokhin
2024-06-15Add irssi setup to TODO.txtDmitry Ilvokhin
2024-06-15Set familiar colour scheme for muttDmitry Ilvokhin
2024-06-15Add shell playbook to setup shellboxDmitry Ilvokhin
2024-06-15Correct ip addresses for water and flameDmitry Ilvokhin
2024-06-15Tor -> tor for consistencyDmitry Ilvokhin
2024-06-15WireGuard -> wireguard for consistencyDmitry Ilvokhin
2024-06-15Remove item about wireguard iface names from TODODmitry Ilvokhin
2024-06-15Rename wg0 interface to wgnet0Dmitry Ilvokhin
2024-06-15Rename wg1 interface to wgvpn0Dmitry Ilvokhin
2024-06-15Rename wg2 interface to wgtor0Dmitry Ilvokhin
2024-06-14Remove sh suffix from rotate-vault-password exampleDmitry Ilvokhin
2024-06-14Fix ip addresses for Moscow machinesDmitry Ilvokhin
2024-06-14Mark gate as jumphostDmitry Ilvokhin
2024-06-14Cleanup TODO.txt fileDmitry Ilvokhin
2024-06-14Finally migrate gate.ilvokhin.comDmitry Ilvokhin
2024-06-14Add comment why we use reload for wgnetDmitry Ilvokhin
2024-06-14Fix wrong state restart -> restartedDmitry Ilvokhin
2024-06-14Manually create /etc/systemd/resolved.conf.d dirDmitry Ilvokhin
2024-06-09Migrate to restart instead of reload for wgvpnDmitry Ilvokhin
For the same reason restart is used in wgtor: there are `iptables` commands in `PostUp` and `PostDown` which are not running on reload.
2024-06-09Update README.txt with more info on how run stuffDmitry Ilvokhin
2024-06-09Update TODO.txt with Tor setup referencesDmitry Ilvokhin
2024-06-09Add wgtor and tor to vpn playbookDmitry Ilvokhin
2024-06-09Add tor roleDmitry Ilvokhin
2024-06-09Add wgtor role for Tor middleboxDmitry Ilvokhin
2024-06-01Remove .sh extention from bin toolsDmitry Ilvokhin
2024-06-01Migrate netfwd to systemd-sysctlDmitry Ilvokhin
/etc/sysctl.conf doesn't work, see [1]. Intrestingly enough, I catched it only with system upgrade and reboot. Just reboot didn't catch it for some reason, or I didn't notice. [1]: https://wiki.archlinux.org/title/sysctl
2024-05-27Remove semicolons from wgvpn configDmitry Ilvokhin
2024-05-27Add wgvpn role for WireGuard VPNDmitry Ilvokhin
2024-05-26Remove wgnet networkd filesDmitry Ilvokhin
2024-05-26Move sysctl net forwarding to separate roleDmitry Ilvokhin
2024-05-19Migrate away from networkd for wireguardDmitry Ilvokhin
Migrate due to a bug [1], which wasn't fixed for some time. [1]: https://github.com/systemd/systemd/issues/25547
2024-05-19Wireguard overlay network setupDmitry Ilvokhin
Need to migrate away from networkd, because it can't add new wireguard peers now out of the box without hacks. [1]: https://github.com/systemd/systemd/issues/25547
2024-05-06Add wireguard roleDmitry Ilvokhin