]>
arthur.barton.de Git - AnsibleRoles.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Alexander Barton [Tue, 22 May 2018 13:51:27 +0000 (15:51 +0200)]
lvm-mv: Remove bogus references to MySQL ...
Alexander Barton [Mon, 23 Apr 2018 13:50:33 +0000 (15:50 +0200)]
nodejs: "nodejs_version" is a number, don't quote it
Alexander Barton [Mon, 23 Apr 2018 13:50:06 +0000 (15:50 +0200)]
Apt module: Update "state=installed" to "state=present"
"state=installed" will be deprecated.
Alexander Barton [Fri, 16 Mar 2018 16:24:23 +0000 (17:24 +0100)]
New "nodejs" role
Alexander Barton [Fri, 2 Mar 2018 13:34:54 +0000 (14:34 +0100)]
New "kexec" role
This role sets up the Linux kexec tools.
Alexander Barton [Tue, 27 Feb 2018 10:47:29 +0000 (11:47 +0100)]
postgresql-server: Make sure service is enabled and started
Bring it in line with mysql-server.
Alexander Barton [Tue, 27 Feb 2018 10:46:56 +0000 (11:46 +0100)]
lvm-lv: Fix role, make it usable by adding "lvm_lv_mountpoint"
Up to now, the LVM LV became always mounted on /var/lib/mysql which
doesn't make sense (in most cases), silly me ...
Update mysql-server & postgresql.server roles accordingly.
Alexander Barton [Mon, 19 Feb 2018 17:11:48 +0000 (18:11 +0100)]
postgresql-server: Optionally create own LVM LV and file system
This was supported by the mysql-server role already, bring it in line.
Alexander Barton [Mon, 19 Feb 2018 17:10:43 +0000 (18:10 +0100)]
New "lvm-lv" role
This role creates an Logical Volume (LV) in an existing LVM Volume
Group (VG), including the ext4 file system. And it even resizes
(enlarges) existing LV and file systems.
The code has been used by the mysql-server role already, but this
patch refactors it into its own reusable "role".
Alexander Barton [Mon, 19 Feb 2018 17:07:19 +0000 (18:07 +0100)]
check-mk-agent: Only install "check-mk-agent-logwatch" on Debian 7 & 8
The check-mk-agent and check-mk-agent-logwatch packages have been removed
in Debian 9, and there is only a "check-mk-agent" package provided by
Check_MK itself (no "check-mk-agent-logwatch"). So assume that this
package has been added to an internal repository, but don't try to install
"check-mk-agent-logwatch" on Debian 9 or newer ...
Alexander Barton [Mon, 19 Feb 2018 17:02:26 +0000 (18:02 +0100)]
apt-base: Don't list "APT update" as "changed", even when run
This "only" updates the local APT package database periodically, and we
don't want Ansible to cont (and show!) this as "changed" when actually
nothing happend to the system configuration itself.
Alexander Barton [Fri, 26 Jan 2018 15:50:06 +0000 (16:50 +0100)]
postfix: Correct order of tasks, modify files after installing packages
This is required because otherwise the files aren't there at all ...
Alexander Barton [Fri, 26 Jan 2018 15:49:22 +0000 (16:49 +0100)]
debian-base: Don't install a Linux kernel into OpenVZ guests
Alexander Barton [Fri, 19 Jan 2018 13:30:24 +0000 (14:30 +0100)]
piwik: Set PHP memory_limit and max_execution_time
Set memory_limit to 256 MB (was 128 MB, Debian default),
and max_execution_time to 60m seconds (was 30 seconds).
Alexander Barton [Thu, 18 Jan 2018 17:07:08 +0000 (18:07 +0100)]
postfix: Make sure that Debconf and main.cf are in sync
Alexander Barton [Thu, 18 Jan 2018 17:06:50 +0000 (18:06 +0100)]
check-mk-agent: Install "check-mk-agent-logwatch" on Debian 7 or newer only
Alexander Barton [Fri, 1 Dec 2017 15:09:39 +0000 (16:09 +0100)]
apache2: Get rid of "apache2-mpm-prefork" package
apache2-mpm-prefork was a "transitional package" in Debian 8, and no
longer exists in Debian 9. Use "apache2".
Alexander Barton [Fri, 1 Dec 2017 15:09:10 +0000 (16:09 +0100)]
postfix: Fix type of Debconf option "postfix/protocols"
Alexander Barton [Wed, 25 Oct 2017 13:04:05 +0000 (15:04 +0200)]
piwik: Remove README.md.gz, to make Piwik self-check happy
The file is installed by the package itself, strange ...
Alexander Barton [Mon, 23 Oct 2017 12:10:03 +0000 (14:10 +0200)]
New "apache2-php7" role
Alexander Barton [Thu, 12 Oct 2017 14:02:15 +0000 (16:02 +0200)]
nfs-client: Make role compatible with newer Debian releases
- The "nfs-common" service is masked in systemd
- More recent systems use /run/rpc_pipefs
Alexander Barton [Thu, 12 Oct 2017 14:01:17 +0000 (16:01 +0200)]
os-base: Use "systemd" module instead of generic "command"
Alexander Barton [Thu, 12 Oct 2017 14:00:37 +0000 (16:00 +0200)]
apache2: Add 'reload "apache2" (graceful)' handler
Alexander Barton [Thu, 17 Aug 2017 15:09:54 +0000 (17:09 +0200)]
postfix: Let debconf regenerate main.cf on changes
And reload configuration afterwards.
Alexander Barton [Thu, 17 Aug 2017 15:08:52 +0000 (17:08 +0200)]
sshd: Update for Debian 9 "stretch"
There is no "openssh-blacklist-extra" package any more.
Alexander Barton [Fri, 19 May 2017 13:19:36 +0000 (15:19 +0200)]
New "piwik" role
Alexander Barton [Thu, 18 May 2017 16:26:26 +0000 (18:26 +0200)]
apache2: Add "apache" tag to 'restart "apache2"' handler
Alexander Barton [Thu, 18 May 2017 15:09:58 +0000 (17:09 +0200)]
Update documentation
Alexander Barton [Wed, 17 May 2017 18:11:40 +0000 (20:11 +0200)]
postfix: Configure a satellite system and use debconf
Don’t mangle the generated main.cf file.
Alexander Barton [Tue, 9 May 2017 14:04:32 +0000 (16:04 +0200)]
docker-engine: Setup Docker to not stop containers on restart
See <https://docs.docker.com/engine/admin/live-restore/>.
Alexander Barton [Tue, 9 May 2017 14:03:46 +0000 (16:03 +0200)]
docker-engine: Add handler to reload Docker
Alexander Barton [Tue, 9 May 2017 14:00:28 +0000 (16:00 +0200)]
docker-engine: Add handler to restart Docker
Alexander Barton [Tue, 9 May 2017 13:06:31 +0000 (15:06 +0200)]
postfix: Don't use Debconf to configure postfix
Ansible is used to configure the Postfix mail system, so set Debconf to
"No configuration" but add some more options to this role:
- postfix_interfaces (defauult: "all")
- smtp_relay_host (default: none)
Alexander Barton [Wed, 3 May 2017 11:34:39 +0000 (13:34 +0200)]
ansible-lint: Fix "Package installs should not use latest" warning
Indeed, we don't want to install updates unintentionally!
Alexander Barton [Wed, 3 May 2017 11:34:19 +0000 (13:34 +0200)]
ansible-lint: Fix "Git checkouts must contain explicit version" warning
Alexander Barton [Wed, 3 May 2017 11:24:26 +0000 (13:24 +0200)]
ansible-lint: Fix "Use shell only when shell functionality is required" warning
Alexander Barton [Wed, 3 May 2017 10:08:39 +0000 (12:08 +0200)]
ansible-lint: Fix "Octal file permissions must contain leading zero" warnings
Problem found by ansible-lint(1) tool.
Alexander Barton [Tue, 25 Apr 2017 14:14:38 +0000 (16:14 +0200)]
apache2-php5: Fix check if "php5-apcu" package is available
Alexander Barton [Tue, 25 Apr 2017 14:04:31 +0000 (16:04 +0200)]
Use "service: state=started" instead of "running"
This fixes the following warning of Ansible 2.3.0:
[DEPRECATION WARNING]: state=running is deprecated. Please use
state=started. This feature will be removed in version 2.7.
Alexander Barton [Thu, 6 Apr 2017 15:06:17 +0000 (17:06 +0200)]
linux-zfs: Remove now unused "ZFS on Linux" assets
Alexander Barton [Thu, 6 Apr 2017 14:36:58 +0000 (16:36 +0200)]
linux-zfs: Use Debian-native ZFS packages
Alexander Barton [Thu, 6 Apr 2017 09:19:12 +0000 (11:19 +0200)]
apache2-php5: Don't try to install php5-apcu by default
Alexander Barton [Wed, 5 Apr 2017 15:09:53 +0000 (17:09 +0200)]
apache2-php5: Fix name of "php-apc" package
Alexander Barton [Wed, 5 Apr 2017 14:07:38 +0000 (16:07 +0200)]
Always run "check tasks" to register variables, even in "check mode"
Otherwise Ansible tries to use variables that are unknown because
the "register" task wasn't run.
Alexander Barton [Wed, 5 Apr 2017 13:37:13 +0000 (15:37 +0200)]
New "postgresql-server" role
Alexander Barton [Wed, 5 Apr 2017 13:26:15 +0000 (15:26 +0200)]
mysql-server: Add common handlers
- "reload MySQL daemon"
- "restart MySQL daemon"
Alexander Barton [Tue, 14 Mar 2017 10:04:05 +0000 (11:04 +0100)]
apach2-php5: Make role aware of "php5-apcu" package
Alexander Barton [Wed, 27 Jul 2016 15:20:57 +0000 (17:20 +0200)]
sshd: New handler 'restart "sshd"'
Alexander Barton [Tue, 5 Jul 2016 08:40:34 +0000 (10:40 +0200)]
linux-zfs: Make start time of "scrub" job configurable
Alexander Barton [Fri, 17 Jun 2016 11:29:27 +0000 (13:29 +0200)]
New "systemd" role
At the moment this only contains a "refresh systemd(8) configuration"
handler, which should be notified after installing or removing systemd
unit files, for example.
Alexander Barton [Wed, 1 Jun 2016 14:45:27 +0000 (16:45 +0200)]
New "apache2" role
The existing "apache2-php5" role has been split up and depends on
this new role now.
Alexander Barton [Wed, 1 Jun 2016 14:12:00 +0000 (16:12 +0200)]
apach2-php5: Correctly enable "apache2" (not "autofs"!)
Alexander Barton [Thu, 19 May 2016 13:28:15 +0000 (15:28 +0200)]
ntpd: Make list of NTP servers configurable
Alexander Barton [Thu, 14 Apr 2016 15:32:30 +0000 (17:32 +0200)]
linux-zfs: Install required "build-essential" package
Alexander Barton [Thu, 14 Apr 2016 14:55:20 +0000 (16:55 +0200)]
git-backup-script: Make sure "make" is installed, which is required
Alexander Barton [Fri, 26 Feb 2016 12:38:57 +0000 (13:38 +0100)]
mysql-server: Add "mysqld" tag
Alexander Barton [Thu, 18 Feb 2016 10:53:40 +0000 (11:53 +0100)]
apt-base: Don't install recommended packages by default
Alexander Barton [Mon, 8 Feb 2016 15:42:56 +0000 (16:42 +0100)]
mysql-server: Only remove root@localhost when not active
Alexander Barton [Thu, 17 Dec 2015 16:24:31 +0000 (17:24 +0100)]
check-mk-agent: Correctly name "Check_MK" :-)
Alexander Barton [Thu, 17 Dec 2015 16:18:30 +0000 (17:18 +0100)]
check-mk-agent: Configure xinetd(8) on Debian <8 hosts
Alexander Barton [Thu, 17 Dec 2015 16:17:42 +0000 (17:17 +0100)]
check-mk-agent: Fix detection of non-systemd-enabled hosts
Alexander Barton [Thu, 17 Dec 2015 16:16:29 +0000 (17:16 +0100)]
New "xinetd" role
Alexander Barton [Thu, 17 Dec 2015 15:38:18 +0000 (16:38 +0100)]
check-mk-agent: Add missing "check_mk" tags
Alexander Barton [Wed, 25 Nov 2015 15:24:40 +0000 (16:24 +0100)]
check-mk-agent: Depend on "nagios-plugins-basic"
The "monitoring-plugins-basic" package is quite new and not available on
older systems, whereas the "nagios-plugins-basic" is still available even
in Debian "sid" (unstable), and depends on the "monitoring-plugins-basic"
when required.
So depend on "nagios-plugins-basic" instead of "monitoring-plugins-basic".
Alexander Barton [Wed, 25 Nov 2015 12:53:07 +0000 (13:53 +0100)]
New "check-mk-agent" role
Alexander Barton [Wed, 25 Nov 2015 12:52:19 +0000 (13:52 +0100)]
os-base: Implement "reload systemd daemon" handler
Alexander Barton [Thu, 19 Nov 2015 17:04:13 +0000 (18:04 +0100)]
debian-base: Don't install "busybox-static" on Proxmox-VE hosts
The "busybox-static" package conflicts with Proxmox-VE 3 packages;
so don't install it on such hosts.
Alexander Barton [Thu, 19 Nov 2015 17:03:13 +0000 (18:03 +0100)]
debian-base: Don't install kernel package von Proxmox-VE hosts
These packages conflict with Proxmox-VE kernel packages!
Alexander Barton [Wed, 11 Nov 2015 15:11:42 +0000 (16:11 +0100)]
"sshd": Add support for Ubuntu
Alexander Barton [Wed, 11 Nov 2015 15:11:22 +0000 (16:11 +0100)]
"debian-base": Support Linux kernel for amd64 and i386 platforms
Alexander Barton [Wed, 11 Nov 2015 15:09:29 +0000 (16:09 +0100)]
Split off "apt-base" from "debian-base"; introduce "ubuntu-base"
All these roles are dependencies of "os-base", don't reference them
directly from other roles!
Alexander Barton [Tue, 10 Nov 2015 15:35:22 +0000 (16:35 +0100)]
linux-zfs: Add pool information to zpool-scrub.sh
Alexander Barton [Tue, 20 Oct 2015 13:01:38 +0000 (15:01 +0200)]
sshd: Support more operating systems
- Don't use apt-get on non-Debian platforms.
- Handle "ssh" and "sushi" service names.
Alexander Barton [Tue, 20 Oct 2015 13:00:16 +0000 (15:00 +0200)]
net-base: Setting the hostname on OpenBSD is not supported
Alexander Barton [Tue, 20 Oct 2015 12:59:44 +0000 (14:59 +0200)]
Use "group=0" instead of "group=root", which is more portable
For example on OpenBSD and OS X, the primary group of the "root" user
is named "wheel".
Alexander Barton [Tue, 20 Oct 2015 12:58:28 +0000 (14:58 +0200)]
Implement generic "os-base" role
This role includes the actual base role of the operating system
which is being used on the target system.
Alexander Barton [Tue, 20 Oct 2015 08:50:14 +0000 (10:50 +0200)]
postfix: Add "postfix_mailname" variable
Alexander Barton [Wed, 14 Oct 2015 09:19:12 +0000 (11:19 +0200)]
linux-zfs: Add host information to zpool-scrub.sh output
Alexander Barton [Wed, 14 Oct 2015 09:16:34 +0000 (11:16 +0200)]
linux-zfs: Fix permissions of zpool-scrub.sh script
Alexander Barton [Tue, 13 Oct 2015 08:42:35 +0000 (10:42 +0200)]
New "linux-bfs" role
- Setup "ZFS on Linux" APT repository
- Install packages
- Install "scrub" script
- Install CRON job for scrub script
Alexander Barton [Mon, 12 Oct 2015 09:24:44 +0000 (11:24 +0200)]
git-backup-script: Make Git URL configurable
Alexander Barton [Tue, 22 Sep 2015 11:14:40 +0000 (13:14 +0200)]
Add "docker-engine" role
Alexander Barton [Tue, 22 Sep 2015 09:30:09 +0000 (11:30 +0200)]
debian-base: Add "update APT repositories" handler
Alexander Barton [Thu, 29 Jan 2015 10:42:10 +0000 (11:42 +0100)]
ansible-base: Ignore "ansible_*" tasks in logcheck
Alexander Barton [Wed, 21 Jan 2015 14:42:49 +0000 (15:42 +0100)]
Add "zabbix-agent" role
This role downloads, installs, and configures the official
(non-Debian) Zabbix agent, see <http://www.zabbix.com/download.php>,
for Debian 7 "Wheezy".
Alexander Barton [Tue, 20 Jan 2015 16:34:31 +0000 (17:34 +0100)]
logcheck task: reword title, use "rule" instead of "configuration"
This is shorter and looks better in Ansible output, because it
doesn't wrap in the next line ;-)
Alexander Barton [Thu, 18 Dec 2014 16:28:38 +0000 (17:28 +0100)]
Rename roles/ntpd/templates/ntp.conf template to "ntp.conf.j2"
Alexander Barton [Thu, 18 Dec 2014 16:05:50 +0000 (17:05 +0100)]
Initial import