]>
git.phdru.name Git - ansible.git/log
Oleg Broytman [Mon, 6 Apr 2020 21:38:51 +0000 (00:38 +0300)]
Feat(init-local-phd): Install more packages
Install `audacious`, `qpdfview` and `xclip`.
Oleg Broytman [Mon, 6 Apr 2020 21:35:03 +0000 (00:35 +0300)]
Feat(logcheck): Install `logcheck-database`
Oleg Broytman [Mon, 6 Apr 2020 21:26:11 +0000 (00:26 +0300)]
Feat(init-local-phd): Install `gajim`
Oleg Broytman [Sun, 5 Apr 2020 13:04:00 +0000 (16:04 +0300)]
Feat(postgres): Install PostgreSQL and docs
Oleg Broytman [Sun, 5 Apr 2020 13:03:29 +0000 (16:03 +0300)]
Feat(init-local-phd): Install FUSE filesystems
Oleg Broytman [Sun, 5 Apr 2020 09:59:26 +0000 (12:59 +0300)]
Feat(init-local-phd): Install documentation
Oleg Broytman [Sun, 5 Apr 2020 09:37:22 +0000 (12:37 +0300)]
Feat(init-local-phd): Install `xsel`
Oleg Broytman [Sun, 5 Apr 2020 08:54:05 +0000 (11:54 +0300)]
Feat(init-local-phd): Install `gvim`
Oleg Broytman [Sun, 5 Apr 2020 06:27:04 +0000 (09:27 +0300)]
Feat(packages): Install more packages
Install GNU screen.
Oleg Broytman [Sat, 4 Apr 2020 21:00:22 +0000 (00:00 +0300)]
Feat(init-local-phd): Install more packages
Oleg Broytman [Mon, 30 Mar 2020 00:01:52 +0000 (03:01 +0300)]
Refactor(init-local-phd): Use module `mount`
Oleg Broytman [Sun, 29 Mar 2020 23:08:37 +0000 (02:08 +0300)]
Feat(init-local-phd): Mount cgroup and webdav.yandex.ru
Oleg Broytman [Sun, 29 Mar 2020 22:54:08 +0000 (01:54 +0300)]
Refactor: Move OS-specific roles under common `roles/`
Oleg Broytman [Thu, 26 Mar 2020 21:58:30 +0000 (00:58 +0300)]
Feat(init-local-phd): Install more packages
Install `hibernate` and `uswsusp`.
Oleg Broytman [Tue, 24 Mar 2020 22:15:49 +0000 (01:15 +0300)]
Feat(init-local-phd): Allow to run on other host(s)
Oleg Broytman [Tue, 24 Mar 2020 21:40:00 +0000 (00:40 +0300)]
Feat: Install more packages
Oleg Broytman [Sun, 22 Mar 2020 16:45:27 +0000 (19:45 +0300)]
Fix(debian/init-system): Fix roles path
Oleg Broytman [Tue, 10 Mar 2020 10:49:52 +0000 (13:49 +0300)]
Refactor(ansible/cleanup-tmp.sh): Sort host names
Oleg Broytman [Fri, 28 Feb 2020 18:10:59 +0000 (21:10 +0300)]
Replace real inventory by a template
Oleg Broytman [Mon, 24 Feb 2020 23:16:42 +0000 (02:16 +0300)]
Feat(ansible): Add shell script to cleanup `.ansible/tmp`
Oleg Broytman [Mon, 17 Feb 2020 17:33:28 +0000 (20:33 +0300)]
Feat(python-packages): `pip install --compile`
Oleg Broytman [Mon, 3 Feb 2020 18:15:27 +0000 (21:15 +0300)]
Feat(logcheck): Send email to root via `/etc/aliases`
Oleg Broytman [Tue, 21 Jan 2020 16:19:29 +0000 (19:19 +0300)]
Feat(logcheck): Add a playbok to update logcheck
Run role `logcheck` setting `gather_facts`.
Oleg Broytman [Tue, 21 Jan 2020 16:18:03 +0000 (19:18 +0300)]
Feat(cleanup-pip-cache): Add a playbook to cleanup pip cache
Run role `cleanup-pip-cache` with default host.
Oleg Broytman [Wed, 8 Jan 2020 00:16:07 +0000 (03:16 +0300)]
Feat(logcheck): Update ignore pattern in `local-ssh`
Oleg Broytman [Mon, 6 Jan 2020 16:29:10 +0000 (19:29 +0300)]
Feat(cleanup-pip-cache): Add a role to cleanup pip cache
Oleg Broytman [Mon, 6 Jan 2020 16:26:29 +0000 (19:26 +0300)]
Feat(python-packages): Use `exec`
Oleg Broytman [Sat, 14 Dec 2019 15:02:52 +0000 (18:02 +0300)]
Fix(adjtimex): Call `adjtimex` without `-h`
In debian 10 `adjtimex` is buggy
(see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944867)
so we have to run it without `-h`.
Ok, `adjtimex -l` + `ntpdate` + `hwclock` is enough.
Fix Debian package name.
Oleg Broytman [Wed, 11 Dec 2019 23:10:26 +0000 (02:10 +0300)]
Feat(logcheck): Update ignore pattern in `local-ssh`
Oleg Broytman [Tue, 10 Dec 2019 11:09:56 +0000 (14:09 +0300)]
Feat(logcheck): Update ignore patterns
Oleg Broytman [Mon, 25 Nov 2019 19:20:55 +0000 (22:20 +0300)]
Feat(logcheck): Update ignore pattern in `local-ssh`
Oleg Broytman [Sat, 16 Nov 2019 15:04:51 +0000 (18:04 +0300)]
Feat(logcheck): Improve task titles
Oleg Broytman [Sat, 16 Nov 2019 15:04:51 +0000 (18:04 +0300)]
Feat(logcheck): Update ignore pattern in `local-gpm`
Oleg Broytman [Sat, 16 Nov 2019 15:04:51 +0000 (18:04 +0300)]
Feat(logcheck): Update ignore pattern in `local-ssh`
Oleg Broytman [Sat, 16 Nov 2019 15:04:51 +0000 (18:04 +0300)]
Feat(logcheck): Update ignore pattern in `local-named`
Oleg Broytman [Sat, 16 Nov 2019 15:04:51 +0000 (18:04 +0300)]
Feat(logcheck): Update ignore pattern in `local-ssh`
Oleg Broytman [Sat, 16 Nov 2019 15:04:51 +0000 (18:04 +0300)]
Feat(logcheck): Add `local-no-tty`
Ignore warnings from TUI programs like `links2` or `vim`.
Oleg Broytman [Mon, 18 Nov 2019 17:12:47 +0000 (20:12 +0300)]
Feat: Improve task names
Oleg Broytman [Sat, 16 Nov 2019 15:04:51 +0000 (18:04 +0300)]
Feat(logcheck): Add `local-gpm` to ignore warnings from `gpm`
Oleg Broytman [Sat, 16 Nov 2019 15:04:51 +0000 (18:04 +0300)]
Feat(logcheck): Send mail to `root` instead of `logcheck`
Replace `SENDMAILTO="logcheck"` with `SENDMAILTO="root"`.
Oleg Broytman [Sat, 16 Nov 2019 15:04:51 +0000 (18:04 +0300)]
Feat(logcheck): Make titles more specific
Oleg Broytman [Thu, 14 Nov 2019 12:28:01 +0000 (15:28 +0300)]
Feat(logcheck): Add ignore patterns after upgrading to Debian 10
Oleg Broytman [Thu, 14 Nov 2019 22:31:36 +0000 (01:31 +0300)]
Style(logcheck): Sort entries; remove empty lines
Oleg Broytman [Tue, 5 Nov 2019 13:53:09 +0000 (16:53 +0300)]
Docs: Update READMEs
Oleg Broytman [Mon, 4 Nov 2019 16:08:58 +0000 (19:08 +0300)]
Fix(logcheck): Fix regexp syntax in `local-ssh`
`logcheck` uses `grep -E` so unescaped parenthesis are used for grouping;
literal parenthesis must be escaped with backslash.
Oleg Broytman [Thu, 31 Oct 2019 21:15:27 +0000 (00:15 +0300)]
Feat(sa-merge-all): Use `sa-merge-all.py` to merge dumps; use `chdir`
Oleg Broytman [Thu, 31 Oct 2019 19:49:12 +0000 (22:49 +0300)]
Feat(ansible/cleanup-tmp): Use args `chdir`; ignore errors with `failed_when`
Oleg Broytman [Thu, 31 Oct 2019 13:21:50 +0000 (16:21 +0300)]
Fix(sa-merge-all): Fix file name (`.` -> `@`)
Oleg Broytman [Thu, 31 Oct 2019 13:21:01 +0000 (16:21 +0300)]
Feat(sa-merge-all): Run `sa-learn --sync` before dump
Oleg Broytman [Mon, 30 Sep 2019 20:41:57 +0000 (23:41 +0300)]
Feat(setup-usrlocal): Setup /usr/local/darkstat
Oleg Broytman [Mon, 16 Sep 2019 22:59:46 +0000 (01:59 +0300)]
Feat(remove-systemd): Run role instead of playbook with 1 task
Oleg Broytman [Mon, 16 Sep 2019 22:58:24 +0000 (01:58 +0300)]
Fix(sa-merge-all): Fix task name
Oleg Broytman [Tue, 3 Sep 2019 01:07:23 +0000 (04:07 +0300)]
Fix(python-dev-packages): Fix condition
Oleg Broytman [Tue, 3 Sep 2019 01:07:03 +0000 (04:07 +0300)]
Fix misspelled `Debian`
Oleg Broytman [Tue, 3 Sep 2019 00:32:22 +0000 (03:32 +0300)]
Feat(run-roles): Run a list of roles separated by comma
Oleg Broytman [Tue, 3 Sep 2019 00:02:02 +0000 (03:02 +0300)]
Fix(dev-packages): Do not install `git`
I need it less frequently even on developer workstations.
Oleg Broytman [Mon, 2 Sep 2019 20:32:42 +0000 (23:32 +0300)]
Fix(phd): Ignore segfault on Fedora
Oleg Broytman [Mon, 2 Sep 2019 19:38:29 +0000 (22:38 +0300)]
Feat(adjtimex): Fix pool address at the second run
Oleg Broytman [Mon, 2 Sep 2019 19:37:35 +0000 (22:37 +0300)]
Feat(adjtimex): Run `ntpdate` at RedHat, `ntpdate-debian` at Debian
Oleg Broytman [Mon, 2 Sep 2019 19:35:06 +0000 (22:35 +0300)]
Feat(remove-systemd) Split `remove-systemd` as a separate plabook
This allows playbook `init-system2` to gather facts anew
getting that services now must be handled using SysV-init methods.
Oleg Broytman [Mon, 2 Sep 2019 18:30:08 +0000 (21:30 +0300)]
Feat(init-system2): Reorder roles
Oleg Broytman [Mon, 2 Sep 2019 18:28:14 +0000 (21:28 +0300)]
Rename role `init-system2` -> `setup-usrlocal`
Oleg Broytman [Mon, 2 Sep 2019 16:44:50 +0000 (19:44 +0300)]
Feat: Combine Debian/RedHat playbooks and roles
Oleg Broytman [Sun, 1 Sep 2019 23:59:40 +0000 (02:59 +0300)]
Feat(firewall): Use handler instead of condition
Oleg Broytman [Sun, 1 Sep 2019 23:41:44 +0000 (02:41 +0300)]
Feat(variables): Calculate Debian distribution
Ansible knows OS family and version, there is no need
to mark every host with variable `debian_distr`.
Oleg Broytman [Sun, 1 Sep 2019 18:44:41 +0000 (21:44 +0300)]
Feat(python): Install dev packages to compile Python from sources
Install development packages: headers and libraries.
Split roles `dev-packages` into `python-dev-packages`.
Oleg Broytman [Sun, 1 Sep 2019 15:19:40 +0000 (18:19 +0300)]
Feat: Recognize OS type by `os_family`, not OS name
There are too many OS names to recognize: Debian, (K/X)Ubuntu,
CentOS, Fedora, RedHat...
Oleg Broytman [Sun, 1 Sep 2019 15:14:45 +0000 (18:14 +0300)]
Feat(ansible): Add playbook `show_facts`
Oleg Broytman [Sun, 1 Sep 2019 14:43:32 +0000 (17:43 +0300)]
Feat(adjtimex): Install `adjtimex` and `ntpdate`
Oleg Broytman [Sun, 1 Sep 2019 14:30:45 +0000 (17:30 +0300)]
Feat(adjtimex): Move to common roles
Oleg Broytman [Sat, 31 Aug 2019 22:14:39 +0000 (01:14 +0300)]
Remove `monthly-truncate-logs`
It's simple to implement this as a shell and run from cron.
Oleg Broytman [Sat, 31 Aug 2019 19:52:40 +0000 (22:52 +0300)]
Feat(RedHat): Add RedHat and redhatoids playbooks and roles
Tested with Fedora 30.
Oleg Broytman [Sat, 31 Aug 2019 19:40:16 +0000 (22:40 +0300)]
Feat(sshd): In Debian the service is called `ssh`, otherwise `sshd`
Oleg Broytman [Sat, 31 Aug 2019 18:59:34 +0000 (21:59 +0300)]
Feat: Move common playbooks and roles
Some playbooks and roles are distribution-independent.
Oleg Broytman [Thu, 29 Aug 2019 17:52:31 +0000 (20:52 +0300)]
Feat(apt): Add option `cache_valid_time: 3600`
Avoid unnecessary updates.
Oleg Broytman [Thu, 29 Aug 2019 17:46:56 +0000 (20:46 +0300)]
Feat(apt): Remove option `purge`
It's used only with `state: absent`.
Oleg Broytman [Thu, 29 Aug 2019 15:31:18 +0000 (18:31 +0300)]
Add `debian/README.txt`
Oleg Broytman [Thu, 29 Aug 2019 15:29:31 +0000 (18:29 +0300)]
Rename playbooks: debian-* -> debian/*
Oleg Broytman [Mon, 26 Aug 2019 15:09:08 +0000 (18:09 +0300)]
Feat(sa-merge-all): Merge SpamAssassin databases
Oleg Broytman [Mon, 26 Aug 2019 15:07:07 +0000 (18:07 +0300)]
Feat(vbox-inventory): Remove `[servers]`
No need to group virtual hosts,
they're automatically grouped to group `all`.
Oleg Broytman [Sun, 18 Aug 2019 18:13:00 +0000 (21:13 +0300)]
Feat(logcheck/kernel): Ignore `ncpfs: ncp_evict_inode: could not close`
Oleg Broytman [Sun, 18 Aug 2019 18:12:19 +0000 (21:12 +0300)]
Feat(logcheck/kernel): Sort patterns
Oleg Broytman [Sun, 18 Aug 2019 18:09:32 +0000 (21:09 +0300)]
Feat(logcheck/samba): Ignore `session opened for user`
Oleg Broytman [Thu, 15 Aug 2019 21:00:51 +0000 (00:00 +0300)]
Fix(vbox-inventory): Set `ansible_port` for every host
Without this `synchronize` runs `rsync`
to sync from `localhost` to itself.
Oleg Broytman [Thu, 15 Aug 2019 10:31:54 +0000 (13:31 +0300)]
Feat(scripts): Add `[...params...]` to usage message
Oleg Broytman [Mon, 12 Aug 2019 02:42:37 +0000 (05:42 +0300)]
Fix(root): Use absolute path
Oleg Broytman [Mon, 12 Aug 2019 02:41:19 +0000 (05:41 +0300)]
Fix(dehydrated): Fix misspelling
Oleg Broytman [Mon, 12 Aug 2019 01:38:58 +0000 (04:38 +0300)]
Refactor(vbox-inventory): Restructure variables
Oleg Broytman [Tue, 6 Aug 2019 22:25:08 +0000 (01:25 +0300)]
Feat(ansible/list-tmp): Count temp directories
Oleg Broytman [Tue, 6 Aug 2019 22:20:43 +0000 (01:20 +0300)]
Style(init-system): `loop` over `when`
Oleg Broytman [Tue, 6 Aug 2019 20:29:38 +0000 (23:29 +0300)]
Feat(dev-packages): Install development packages
Oleg Broytman [Tue, 6 Aug 2019 20:26:17 +0000 (23:26 +0300)]
Feat(init-system): Install less software packages
Install more software packages in a separate role `packages`.
Oleg Broytman [Tue, 6 Aug 2019 20:08:28 +0000 (23:08 +0300)]
Feat(init-system): Skip upgrading Python packages
Do not upgrade Python packages if python has already been installed.
Oleg Broytman [Tue, 6 Aug 2019 20:05:38 +0000 (23:05 +0300)]
Fix(remove-systemd): Fix permissions
Oleg Broytman [Tue, 6 Aug 2019 18:21:36 +0000 (21:21 +0300)]
feat(vbox-inventory): Separate Debian 9 and Debian 10 vboxes
Oleg Broytman [Tue, 6 Aug 2019 17:35:38 +0000 (20:35 +0300)]
feat(vbox-inventory): Use HTTP mirror for Debian 9
Oleg Broytman [Tue, 6 Aug 2019 17:02:11 +0000 (20:02 +0300)]
Feat(init-system): Install `python-setuptools` for Debian 9
Oleg Broytman [Tue, 6 Aug 2019 17:00:43 +0000 (20:00 +0300)]
Feat(init-system): Install `apt-transport-https` for Debian 9
Oleg Broytman [Tue, 6 Aug 2019 15:46:00 +0000 (18:46 +0300)]
Feat(init-system): Upgrade Python packages
Oleg Broytman [Tue, 6 Aug 2019 15:37:23 +0000 (18:37 +0300)]
Feat(init-system): Install `python-pip`