]> git.phdru.name Git - ansible.git/log
ansible.git
5 days agoUpdate(logcheck): Update `local-ssh` master
Oleg Broytman [Sun, 10 Nov 2024 08:16:01 +0000 (11:16 +0300)]
Update(logcheck): Update `local-ssh`

3 weeks agoUpdate(logcheck): Add `local-git-daemon`
Oleg Broytman [Mon, 21 Oct 2024 18:11:07 +0000 (21:11 +0300)]
Update(logcheck): Add `local-git-daemon`

3 weeks agoUpdate(logcheck): Update `local-ssh`
Oleg Broytman [Mon, 21 Oct 2024 18:10:43 +0000 (21:10 +0300)]
Update(logcheck): Update `local-ssh`

3 months agoFeat(dev-packages): Install `libgdbm6`
Oleg Broytman [Fri, 26 Jul 2024 11:28:38 +0000 (14:28 +0300)]
Feat(dev-packages): Install `libgdbm6`

On buster, bullseye, bookworm.

3 months agoFeat(dev-packages): Install `libcurl4-openssl-dev`
Oleg Broytman [Fri, 26 Jul 2024 11:20:43 +0000 (14:20 +0300)]
Feat(dev-packages): Install `libcurl4-openssl-dev`

Will be used to compile PycURL.

3 months agoUpdate(logcheck): Update `local-named`
Oleg Broytman [Tue, 23 Jul 2024 12:07:50 +0000 (15:07 +0300)]
Update(logcheck): Update `local-named`

3 months agoUpdate(logcheck): Update `local-named`
Oleg Broytman [Thu, 18 Jul 2024 08:02:41 +0000 (11:02 +0300)]
Update(logcheck): Update `local-named`

4 months agoUpdate(logcheck): Update `local-ssh`
Oleg Broytman [Mon, 8 Jul 2024 23:09:36 +0000 (02:09 +0300)]
Update(logcheck): Update `local-ssh`

6 months agoUpdate(logcheck): Update `local-spamassassin`
Oleg Broytman [Wed, 17 Apr 2024 17:06:21 +0000 (20:06 +0300)]
Update(logcheck): Update `local-spamassassin`

7 months agoUpdate(logcheck): Update `local-named`
Oleg Broytman [Tue, 9 Apr 2024 20:09:56 +0000 (23:09 +0300)]
Update(logcheck): Update `local-named`

9 months agoFeat(logcheck): Fix mode
Oleg Broytman [Sat, 27 Jan 2024 23:00:01 +0000 (02:00 +0300)]
Feat(logcheck): Fix mode

9 months agoFeat(logcheck): Use `remote_src`
Oleg Broytman [Sat, 27 Jan 2024 22:23:36 +0000 (01:23 +0300)]
Feat(logcheck): Use `remote_src`

9 months agoFeat(logcheck): Add `logcheck.sh`
Oleg Broytman [Sat, 27 Jan 2024 22:11:45 +0000 (01:11 +0300)]
Feat(logcheck): Add `logcheck.sh`

Check the tree is git-clean
and sync it to the remote hosts.

10 months agoFeat(logcheck): Update `local-ssh`
Oleg Broytman [Fri, 12 Jan 2024 08:15:10 +0000 (11:15 +0300)]
Feat(logcheck): Update `local-ssh`

10 months agoFeat(fetch-push): Allow plain directory
Oleg Broytman [Thu, 11 Jan 2024 12:29:55 +0000 (15:29 +0300)]
Feat(fetch-push): Allow plain directory

Allow to omit hostname directory.

10 months agoFeat(logcheck): Update `local-ssh`
Oleg Broytman [Thu, 11 Jan 2024 12:29:43 +0000 (15:29 +0300)]
Feat(logcheck): Update `local-ssh`

10 months agoFeat(logcheck): Update `local-ssh`
Oleg Broytman [Thu, 21 Dec 2023 07:09:36 +0000 (10:09 +0300)]
Feat(logcheck): Update `local-ssh`

11 months agoFeat(logcheck): Update `local-ssh`
Oleg Broytman [Wed, 13 Dec 2023 09:53:29 +0000 (12:53 +0300)]
Feat(logcheck): Update `local-ssh`

11 months agoStyle(logcheck/local-kea): Sort entries
Oleg Broytman [Tue, 12 Dec 2023 18:16:30 +0000 (21:16 +0300)]
Style(logcheck/local-kea): Sort entries

11 months agoFeat(logcheck): Update `local-kea`
Oleg Broytman [Tue, 12 Dec 2023 18:15:56 +0000 (21:15 +0300)]
Feat(logcheck): Update `local-kea`

11 months agoFeat(roles/sudo): Disable `.sudo_as_admin_successful`
Oleg Broytman [Mon, 4 Dec 2023 01:29:26 +0000 (04:29 +0300)]
Feat(roles/sudo): Disable `.sudo_as_admin_successful`

11 months agoFeat(logcheck): Update `local-ntpd`
Oleg Broytman [Thu, 30 Nov 2023 14:09:20 +0000 (17:09 +0300)]
Feat(logcheck): Update `local-ntpd`

12 months agoFeat(logcheck): Add `local-dnsmasq`
Oleg Broytman [Fri, 10 Nov 2023 13:06:24 +0000 (16:06 +0300)]
Feat(logcheck): Add `local-dnsmasq`

12 months agoFeat(logcheck): Disable systemd journal
Oleg Broytman [Sat, 4 Nov 2023 14:43:18 +0000 (17:43 +0300)]
Feat(logcheck): Disable systemd journal

12 months agoFeat(logcheck): Add `local-kea`, update `local-named`, `local-ssh`
Oleg Broytman [Mon, 30 Oct 2023 15:03:13 +0000 (18:03 +0300)]
Feat(logcheck): Add `local-kea`, update `local-named`, `local-ssh`

12 months agoFeat(logcheck): Update timestamp format for new `rsyslog` in Debian 12
Oleg Broytman [Mon, 30 Oct 2023 10:21:55 +0000 (13:21 +0300)]
Feat(logcheck): Update timestamp format for new `rsyslog` in Debian 12

13 months agoFeat(firewall): Prevent `fail2ban` from autostarting
Oleg Broytman [Mon, 16 Oct 2023 15:21:27 +0000 (18:21 +0300)]
Feat(firewall): Prevent `fail2ban` from autostarting

13 months agoFeat(bluetooth): Prevent `bluetooth` from autostarting
Oleg Broytman [Mon, 16 Oct 2023 15:20:41 +0000 (18:20 +0300)]
Feat(bluetooth): Prevent `bluetooth` from autostarting

13 months agoRename `apt.yaml` -> `deb.yaml`
Oleg Broytman [Mon, 16 Oct 2023 15:19:54 +0000 (18:19 +0300)]
Rename `apt.yaml` -> `deb.yaml`

13 months agoFeat(bluetooth): Install bluetooth/bluez separately
Oleg Broytman [Sat, 14 Oct 2023 21:50:28 +0000 (00:50 +0300)]
Feat(bluetooth): Install bluetooth/bluez separately

13 months agoFeat(bluetooth): Do not install bluetooth/bluez automatically
Oleg Broytman [Sat, 14 Oct 2023 21:46:03 +0000 (00:46 +0300)]
Feat(bluetooth): Do not install bluetooth/bluez automatically

14 months agoFeat(update-root): Update `.mc/mc.ext`
Oleg Broytman [Wed, 30 Aug 2023 14:18:53 +0000 (17:18 +0300)]
Feat(update-root): Update `.mc/mc.ext`

14 months agoFix(setup-usrlocal): Fix `chown user:group` syntax
Oleg Broytman [Sun, 27 Aug 2023 09:50:25 +0000 (12:50 +0300)]
Fix(setup-usrlocal): Fix `chown user:group` syntax

`chown` started to issue warning for `user.group` syntax.

15 months agoFeat(logcheck): Update `local-gcr`
Oleg Broytman [Wed, 9 Aug 2023 11:06:04 +0000 (14:06 +0300)]
Feat(logcheck): Update `local-gcr`

Update timestamp format for Debian 12.

15 months agoFix(sa-merge-all): Adapt to Debian 12
Oleg Broytman [Tue, 1 Aug 2023 17:06:17 +0000 (20:06 +0300)]
Fix(sa-merge-all): Adapt to Debian 12

The service is now named `spamd`.

15 months agoFeat(debian/sa-merge-all.py): Update to `python3`
Oleg Broytman [Tue, 1 Aug 2023 16:55:28 +0000 (19:55 +0300)]
Feat(debian/sa-merge-all.py): Update to `python3`

Fix a bug found by `flake8`:
there were 4 placeholders but only 3 arguments.

15 months agoFix(ansible/cleanup-tmp.sh): Fix `*`
Oleg Broytman [Tue, 1 Aug 2023 16:54:48 +0000 (19:54 +0300)]
Fix(ansible/cleanup-tmp.sh): Fix `*`

Do not overprotect.

15 months agoFeat(logcheck): Update `local-ntpd`
Oleg Broytman [Sun, 23 Jul 2023 15:23:51 +0000 (18:23 +0300)]
Feat(logcheck): Update `local-ntpd`

16 months agoFeat(logcheck): Update `local-rtkit`
Oleg Broytman [Sat, 15 Jul 2023 11:57:39 +0000 (14:57 +0300)]
Feat(logcheck): Update `local-rtkit`

16 months agoFix(debian/email): Debian 12 split `spamd` from `spamassassin`
Oleg Broytman [Fri, 14 Jul 2023 12:57:55 +0000 (15:57 +0300)]
Fix(debian/email): Debian 12 split `spamd` from `spamassassin`

16 months agoFeat(logcheck): Update `local-wpa_supplicant`
Oleg Broytman [Thu, 13 Jul 2023 14:11:28 +0000 (17:11 +0300)]
Feat(logcheck): Update `local-wpa_supplicant`

16 months agoFeat(logcheck): Update `local-rtkit`
Oleg Broytman [Thu, 13 Jul 2023 14:11:15 +0000 (17:11 +0300)]
Feat(logcheck): Update `local-rtkit`

16 months agoFeat(logcheck): Add `local-rtkit`
Oleg Broytman [Tue, 11 Jul 2023 19:14:17 +0000 (22:14 +0300)]
Feat(logcheck): Add `local-rtkit`

16 months agoRefactor(init-system/templates/sources.list)
Oleg Broytman [Tue, 11 Jul 2023 13:34:08 +0000 (16:34 +0300)]
Refactor(init-system/templates/sources.list)

Reorder entries. Add empty lines.
Remove unused VBox: I've switched back to Qemu.

16 months agoFeat(init-system): `apt-transport-https` no longer required
Oleg Broytman [Tue, 11 Jul 2023 13:32:30 +0000 (16:32 +0300)]
Feat(init-system): `apt-transport-https` no longer required

For some releases it was nothing but a transition package.

16 months agoFeat(init-system): Add Debian 12 "bookworm"
Oleg Broytman [Mon, 26 Jun 2023 10:25:29 +0000 (13:25 +0300)]
Feat(init-system): Add Debian 12 "bookworm"

17 months agoAntifeature: Ansible now requires UTF-8 locale but I don't
Oleg Broytman [Thu, 15 Jun 2023 14:28:21 +0000 (17:28 +0300)]
Antifeature: Ansible now requires UTF-8 locale but I don't

17 months agoStyle(playbooks/debian/init-local-phd): Remove dead code
Oleg Broytman [Mon, 5 Jun 2023 11:34:02 +0000 (14:34 +0300)]
Style(playbooks/debian/init-local-phd): Remove dead code

20 months agoFeat(logcheck): Update `local-named`
Oleg Broytman [Fri, 17 Mar 2023 12:51:41 +0000 (15:51 +0300)]
Feat(logcheck): Update `local-named`

20 months agoFix(dehydrated): Fix URL
Oleg Broytman [Thu, 16 Mar 2023 13:02:19 +0000 (16:02 +0300)]
Fix(dehydrated): Fix URL

20 months agoFeat(logcheck): Add `local-ntpd`
Oleg Broytman [Sat, 11 Mar 2023 12:08:14 +0000 (15:08 +0300)]
Feat(logcheck): Add `local-ntpd`

20 months agoFeat(firewall): Rename `eth` to `firewall.sh`
Oleg Broytman [Tue, 7 Mar 2023 12:21:43 +0000 (15:21 +0300)]
Feat(firewall): Rename `eth` to `firewall.sh`

The script is not only about ethernets.

20 months agoFeat(roles/logcheck): Update `local-spamassassin`
Oleg Broytman [Sun, 5 Mar 2023 16:04:31 +0000 (19:04 +0300)]
Feat(roles/logcheck): Update `local-spamassassin`

21 months agoFeat(roles/logcheck): Update `local-ssh`
Oleg Broytman [Mon, 13 Feb 2023 07:13:24 +0000 (10:13 +0300)]
Feat(roles/logcheck): Update `local-ssh`

21 months agoFeat(init-local-phd): Install `ifplugd`
Oleg Broytman [Fri, 27 Jan 2023 15:49:16 +0000 (18:49 +0300)]
Feat(init-local-phd): Install `ifplugd`

21 months agoFeat(firewall): Switch to `nftables`
Oleg Broytman [Wed, 4 Jan 2023 11:20:22 +0000 (14:20 +0300)]
Feat(firewall): Switch to `nftables`

22 months agoFeat: Switch from `adjtimex`/`hwclock` back to `ntpd`
Oleg Broytman [Sun, 8 Jan 2023 07:05:39 +0000 (10:05 +0300)]
Feat: Switch from `adjtimex`/`hwclock` back to `ntpd`

22 months agoFeat(init-local-phd): Change the list of packages
Oleg Broytman [Wed, 4 Jan 2023 11:21:01 +0000 (14:21 +0300)]
Feat(init-local-phd): Change the list of packages

Replace VBox with QEmu. Install more XScreenSaver hacks.

22 months agoFeat(playbooks/debian/init-local-phd): Mount cgroups using `cgroupfs-mount`
Oleg Broytman [Tue, 27 Dec 2022 09:16:17 +0000 (12:16 +0300)]
Feat(playbooks/debian/init-local-phd): Mount cgroups using `cgroupfs-mount`

23 months agoFeat: Rename `*.yml` to `*.yaml`
Oleg Broytman [Sat, 10 Dec 2022 23:38:22 +0000 (02:38 +0300)]
Feat: Rename `*.yml` to `*.yaml`

2 years agoFeat(logcheck): Update `local-ssh`
Oleg Broytman [Fri, 4 Nov 2022 14:11:05 +0000 (17:11 +0300)]
Feat(logcheck): Update `local-ssh`

2 years agoFeat(logcheck): Update `local-named`
Oleg Broytman [Sun, 18 Sep 2022 12:08:11 +0000 (15:08 +0300)]
Feat(logcheck): Update `local-named`

2 years agoFeat(inventory): Split `[localnet]` into `[homenet]`
Oleg Broytman [Wed, 31 Aug 2022 05:33:42 +0000 (08:33 +0300)]
Feat(inventory): Split `[localnet]` into `[homenet]`

My `localhost` is a notebook and can be relocated anywhere in the world.

2 years agoFeat(logcheck): Update `local-named`
Oleg Broytman [Thu, 25 Aug 2022 08:09:31 +0000 (11:09 +0300)]
Feat(logcheck): Update `local-named`

2 years agoFeat(logcheck): Update `local-ssh`
Oleg Broytman [Sun, 21 Aug 2022 19:06:26 +0000 (22:06 +0300)]
Feat(logcheck): Update `local-ssh`

2 years agoFeat(logcheck): Update `local-named`
Oleg Broytman [Wed, 17 Aug 2022 11:09:19 +0000 (14:09 +0300)]
Feat(logcheck): Update `local-named`

2 years agoStyle: `ip -o` -> `ip --oneline`
Oleg Broytman [Mon, 1 Aug 2022 21:38:09 +0000 (00:38 +0300)]
Style: `ip -o` -> `ip --oneline`

2 years agoFeat: Rename `adjtimex` -> `ntpdate-hwc`
Oleg Broytman [Fri, 29 Jul 2022 15:24:57 +0000 (18:24 +0300)]
Feat: Rename `adjtimex` -> `ntpdate-hwc`

2 years agoStyle(firewall): `ip addr show` -> `ip address show`
Oleg Broytman [Wed, 27 Jul 2022 07:52:04 +0000 (10:52 +0300)]
Style(firewall): `ip addr show` -> `ip address show`

2 years agoFeat(logcheck): Update `local-dhcp`
Oleg Broytman [Mon, 27 Jun 2022 18:20:32 +0000 (21:20 +0300)]
Feat(logcheck): Update `local-dhcp`

2 years agoFix(fetch-push/push): `dest_dir` is always a directory
Oleg Broytman [Tue, 21 Jun 2022 20:59:41 +0000 (23:59 +0300)]
Fix(fetch-push/push): `dest_dir` is always a directory

Create a new one if it doesn't exist.

2 years agoFeat(logcheck): Update `local-ssh`
Oleg Broytman [Tue, 21 Jun 2022 13:08:03 +0000 (16:08 +0300)]
Feat(logcheck): Update `local-ssh`

2 years agoFeat(logcheck): Update `local-named`
Oleg Broytman [Fri, 3 Jun 2022 20:05:43 +0000 (23:05 +0300)]
Feat(logcheck): Update `local-named`

2 years agoFeat(logcheck): Update `local-ssh`
Oleg Broytman [Thu, 2 Jun 2022 21:05:56 +0000 (00:05 +0300)]
Feat(logcheck): Update `local-ssh`

2 years agoFeat(adjtimex): Rewrite `adjtimex.sh`
Oleg Broytman [Thu, 26 May 2022 11:42:26 +0000 (14:42 +0300)]
Feat(adjtimex): Rewrite `adjtimex.sh`

I'm disappointed with `adjtimex --log/--review`
so I do manual tweaking now.

The script just synchronize system and hardware clocks.

2 years agoFeat(adjtimex): Install `hwclock` from `util-linux`
Oleg Broytman [Sat, 14 May 2022 03:09:17 +0000 (06:09 +0300)]
Feat(adjtimex): Install `hwclock` from `util-linux`

2 years agoFeat(adjtimex): Use `hwclock --update-drift`
Oleg Broytman [Sat, 7 May 2022 14:19:44 +0000 (17:19 +0300)]
Feat(adjtimex): Use `hwclock --update-drift`

2 years agoRefactor(cleanup-tmp.sh): Use `ansible --list-hosts` instead of `run-hosts -L`
Oleg Broytman [Tue, 3 May 2022 22:15:12 +0000 (01:15 +0300)]
Refactor(cleanup-tmp.sh): Use `ansible --list-hosts` instead of `run-hosts -L`

2 years agoFix(ansible/cleanup-tmp.sh): `.ansible` is at `$HOME`
Oleg Broytman [Tue, 3 May 2022 11:44:14 +0000 (14:44 +0300)]
Fix(ansible/cleanup-tmp.sh): `.ansible` is at `$HOME`

2 years agoFix(ansible/cleanup-tmp.sh): Parameter was changed in `run-hosts`
Oleg Broytman [Tue, 3 May 2022 11:42:08 +0000 (14:42 +0300)]
Fix(ansible/cleanup-tmp.sh): Parameter was changed in `run-hosts`

It's no longer "echo", it's "list hosts".

2 years agoFeat(packages): Install `socat`
Oleg Broytman [Mon, 25 Apr 2022 13:14:28 +0000 (16:14 +0300)]
Feat(packages): Install `socat`

2 years agoFix(debian/email): Split handlers
Oleg Broytman [Mon, 25 Apr 2022 12:10:46 +0000 (15:10 +0300)]
Fix(debian/email): Split handlers

Roles don't allow inline handlers.

2 years agoFeat(init-system): Remove `ntp`
Oleg Broytman [Mon, 25 Apr 2022 02:14:59 +0000 (05:14 +0300)]
Feat(init-system): Remove `ntp`

2 years agoFeat(debian/init-system): Start a shared connection with a password
Oleg Broytman [Mon, 25 Apr 2022 01:15:05 +0000 (04:15 +0300)]
Feat(debian/init-system): Start a shared connection with a password

2 years agoFeat(roles/qemu): Install QEMU
Oleg Broytman [Wed, 20 Apr 2022 11:41:46 +0000 (14:41 +0300)]
Feat(roles/qemu): Install QEMU

2 years agoFeat(roles/docker): Install Docker (currently Debian-only)
Oleg Broytman [Mon, 11 Apr 2022 14:33:27 +0000 (17:33 +0300)]
Feat(roles/docker): Install Docker (currently Debian-only)

2 years agoFeat(debian/security): Configure `/etc/chkrootkit.conf`
Oleg Broytman [Sat, 9 Apr 2022 09:50:22 +0000 (12:50 +0300)]
Feat(debian/security): Configure `/etc/chkrootkit.conf`

Enable daily run.

2 years agoFeat(logcheck): Update `local-named`
Oleg Broytman [Sun, 27 Mar 2022 22:21:12 +0000 (01:21 +0300)]
Feat(logcheck): Update `local-named`

2 years agoFeat(wireguard): Install WireGuard
Oleg Broytman [Sat, 26 Mar 2022 16:22:22 +0000 (19:22 +0300)]
Feat(wireguard): Install WireGuard

2 years agoFix(firewall): `iptables.sh` does its own restart
Oleg Broytman [Sat, 26 Mar 2022 16:21:26 +0000 (19:21 +0300)]
Fix(firewall): `iptables.sh` does its own restart

2 years agoFeat(logcheck): Update `local-named`
Oleg Broytman [Fri, 25 Mar 2022 03:33:23 +0000 (06:33 +0300)]
Feat(logcheck): Update `local-named`

2 years agoFeat(update-root): Sync `ssh/known_hosts`
Oleg Broytman [Thu, 24 Mar 2022 00:26:32 +0000 (03:26 +0300)]
Feat(update-root): Sync `ssh/known_hosts`

2 years agoFeat(playbooks/fetch-push): Fetch/push a list of files
Oleg Broytman [Wed, 23 Mar 2022 02:04:46 +0000 (05:04 +0300)]
Feat(playbooks/fetch-push): Fetch/push a list of files

File names are separated by a comma, no space.

2 years agoFeat(playbooks/fetch-push): Fetch/push a file
Oleg Broytman [Wed, 23 Mar 2022 02:02:54 +0000 (05:02 +0300)]
Feat(playbooks/fetch-push): Fetch/push a file

Backup a remote file. Update it back.

2 years agoFeat(logcheck): Update `local-named`
Oleg Broytman [Fri, 18 Mar 2022 20:08:39 +0000 (23:08 +0300)]
Feat(logcheck): Update `local-named`

2 years agoFix(debian/named): Use IP instead of name
Oleg Broytman [Sun, 13 Mar 2022 09:28:32 +0000 (12:28 +0300)]
Fix(debian/named): Use IP instead of name

In `named` config it's better not to resolve names, even `localhost`.

2 years agoFeat(debian/gitweb): Install and configure `gitweb`
Oleg Broytman [Fri, 11 Mar 2022 21:55:19 +0000 (00:55 +0300)]
Feat(debian/gitweb): Install and configure `gitweb`

2 years agoFeat(playbooks/debian): Pass the host to the scripts
Oleg Broytman [Fri, 11 Mar 2022 21:53:46 +0000 (00:53 +0300)]
Feat(playbooks/debian): Pass the host to the scripts

2 years agoFeat(debian/named): Insert IP address
Oleg Broytman [Fri, 11 Mar 2022 01:43:36 +0000 (04:43 +0300)]
Feat(debian/named): Insert IP address

Insert the default IP address into `named.conf.options`.

2 years agoFeat(debian/email): Configure `/etc/default/spamassassin`
Oleg Broytman [Fri, 11 Mar 2022 00:56:24 +0000 (03:56 +0300)]
Feat(debian/email): Configure `/etc/default/spamassassin`

Add `--socketpath`.