DebOps Changelog

January 20, 2019

DebOps

[debops.logrotate] Add 'filename' as valid trigger

[debops.logrotate] Add 'filename' as valid trigger

Ensure that the configuration entries without 'log' or 'logs' parameters
still work as expected when the 'filename' parameter is specified.

by drybjed at January 20, 2019 10:55 AM

January 19, 2019

DebOps

January 18, 2019

DebOps

[debops.netbase] Implement automatic domain config

[debops.netbase] Implement automatic domain config

The 'debops.netbase' role will check the FQDN and IP address of a given
host from that host's perspective to determine if its current domain and
IP address are defined locally via the '/etc/hosts' database or via
a DNS service. This will be used to update the '/etc/hosts' database.

The existing '127.0.1.1' entry in the local host database will be
removed, and if DNS service is not available, a local FQDN and hostname
will be defined in '/etc/hosts' which will point to the host's default
IPv4 and IPv6 addresses. The domain will be generated automatically
based on the 'ansible_host' value, or if it's an IP address, on the
'inventory_hostname' value.

by drybjed at January 18, 2019 02:05 PM

[debops.gitlab] Avoid OOM during asset compilation

[debops.gitlab] Avoid OOM during asset compilation

During 'debops.gitlab' asset compilation, Node scripts can crash with
Out of Memory message. This change should ensure that this doesn't
happen.

Ref: https://gitlab.com/gitlab-org/gitlab-ce/issues/50937

by drybjed at January 18, 2019 07:40 AM

January 17, 2019

DebOps

Merge branch 'pipe-flatten-install' of https://github.com/gardouille/…

Merge branch 'pipe-flatten-install' of https://github.com/gardouille/debops into gardouille-pipe-flatten-install

by drybjed at January 17, 2019 03:58 PM

Merge branch 'gunicorn-logrotate' of https://github.com/cultcom/debop…

Merge branch 'gunicorn-logrotate' of https://github.com/cultcom/debops into cultcom-gunicorn-logrotate

by drybjed at January 17, 2019 03:46 PM

[debops.logrotate] Set 'utmp', 'btmp' rotation

[debops.logrotate] Set 'utmp', 'btmp' rotation

The 'utmp' and 'btmp' log rotation is enabled or disabled conditionally
in the '/etc/logrotate.conf' configuration file. From Debian Buster
onwards, these logs have separate configuration entries in
'/etc/logrotate.d/' directory.

by drybjed at January 17, 2019 01:13 PM

[debops.logrotate] Clean up configuration template

[debops.logrotate] Clean up configuration template

This change should clean up the logrotate configuration files generated
by 'debops.logrotate', remove additional empty lines at the end of the
files and in the configuration sections.

by drybjed at January 17, 2019 01:08 PM

Merge branch 'reorganize-debops-deps' of https://github.com/drybjed/d…

Merge branch 'reorganize-debops-deps' of https://github.com/drybjed/debops into drybjed-reorganize-debops-deps

by drybjed at January 17, 2019 10:26 AM

Drop Ansible dependency in 'debops' Python package

Drop Ansible dependency in 'debops' Python package

The 'debops' Python package will not have a hard dependency on Ansible.
This allows installation in a separate environment possible. The
installation instructions have been updated to reflect the change.

by drybjed at January 17, 2019 09:52 AM

[debops.nodejs] Fix usage on Debian Testing

[debops.nodejs] Fix usage on Debian Testing

This change should ensure that the 'debops.nodejs' role works correctly
on Debian Testing release, or other OS releases not recognized by
Ansible.

by drybjed at January 17, 2019 08:13 AM

[debops.nginx] Fix support on Debian Testing

[debops.nginx] Fix support on Debian Testing

This change should ensure that the 'debops.nginx' role works correctly
when executed on Debian Testing release or other OS releases which are
not correctly detected by Ansible.

by drybjed at January 17, 2019 08:11 AM

[debops.gitlab] use 'gitlab_domain' variable

[debops.gitlab] use 'gitlab_domain' variable

This change modifies the variables that include the host's domain to use
the domain specified by the 'gitlab_domain' variable instead of the
'ansible_domain' directly. This allows for an easier override of the
service domain if needed.

by drybjed at January 17, 2019 08:09 AM

[debops.ntp] Expose package lists in role defaults

[debops.ntp] Expose package lists in role defaults

This change allows for easier control over what APT packages are
installed/purged by the 'debops.ntp' role and fixes issues with the
package list being not properly flattened.

by drybjed at January 17, 2019 08:06 AM

January 16, 2019

DebOps

Merge branch 'clean-flattened-install' of https://github.com/gardouil…

Merge branch 'clean-flattened-install' of https://github.com/gardouille/debops into gardouille-clean-flattened-install

by drybjed at January 16, 2019 06:23 PM

[debops.ansible_plugins] Support 'standalone' mode

[debops.ansible_plugins] Support 'standalone' mode

The custom Ansible lookup plugins 'template_src', 'task_src' and
'file_src' used in DebOps roles will now work correctly without the
'debops' Python module installed in the same environment. In such case,
custom templates, files and task lists will not be "reachable", but the
base Ansible roles will execute correctly.

by drybjed at January 16, 2019 11:14 AM

January 15, 2019

DebOps

Merge branch 'snmpd-group-host-options' of https://github.com/mikenow…

Merge branch 'snmpd-group-host-options' of https://github.com/mikenowak/debops into mikenowak-snmpd-group-host-options

by drybjed at January 15, 2019 10:47 PM

January 14, 2019

DebOps

Merge branch 'debops-ansible-dep' of https://github.com/tumd/debops i…

Merge branch 'debops-ansible-dep' of https://github.com/tumd/debops into reorganize-debops-deps

by drybjed at January 14, 2019 11:56 AM

January 13, 2019

DebOps

Merge branch 'upstream-fix-python-path' of https://github.com/Another…

Merge branch 'upstream-fix-python-path' of https://github.com/AnotherKamila/debops into AnotherKamila-upstream-fix-python-path

by drybjed at January 13, 2019 10:11 PM

[debops.sudo] Enable logind fix on systemd hosts

[debops.sudo] Enable logind fix on systemd hosts

This change will enable the 'logind' session workaround only on hosts
with 'systemd' as the service manager. On other hosts it might be not
relevant.

by drybjed at January 13, 2019 09:33 PM

Merge branch 'unattended-upgrades-jinja210' of https://github.com/tum…

Merge branch 'unattended-upgrades-jinja210' of https://github.com/tumd/debops into tumd-unattended-upgrades-jinja210

by drybjed at January 13, 2019 08:19 PM

[debops.ipxe] Use the 'current' netinst image

[debops.ipxe] Use the 'current' netinst image

This commit reverts the previous chane that used the old version of the
netinst image. It seems that the current netinst image can be correctly
unpacked again.

by drybjed at January 13, 2019 07:44 PM

[debops.unattended-upgrades] Fix jinja scope issue

[debops.unattended-upgrades] Fix jinja scope issue

This fixes the scope issue introduced in jinja 2.10, without using
namespaces.
See [1] & [2] for more info.

[1]: dc5383495a2d613a3118877f2f384c21011a0f8a
[2]: http://jinja.pocoo.org/docs/2.10/templates/#assignments

by tumd at January 13, 2019 06:23 PM

[debops.docker] Drop custom 'docker.service' unit

[debops.docker] Drop custom 'docker.service' unit

The 'debops.docker' role will not maintain its own custom
'docker.service' systemd unit file anymore, to avoid rapid changes in
the Docker upstream. Instead, required changes will be configured using
the unit override files.

by drybjed at January 13, 2019 05:49 PM