Releases: NETWAYS/ansible-collection-icinga
0.4.2
v0.4.2
Release Summary
Small quality of life & bugfix release.
Minor Changes
- Extend condition for the API feature when using self generated certificates. This avoids running the given portion of the code unnecessarily. Thanks @thesefer
- For Icinga2 certificates and key file permissions are now set explicitly when using self generated certificates (0644 and 0600 respectively).
- The Icinga2 API feature now allows for the use of certificates already present on the remote host. This means that certificates (and the key) no longer have to be present on the Ansible controller which allows for more flexibility when it comes to certificate deployment. The new behavior can be activated by setting
ssl_remote_source: true
within the API feature.
Bugfixes
- The TLS configuration for Icinga DB / Icinga DB Redis has been faulty. Both configuration templates now render properly based on the given TLS related variables. If using TLS in Icinga DB Redis, the non-TLS port will be disabled. The Icinga DB (daemon) configuration now uses the correct YAML key for both the TLS port and the non-TLS port.
Thanks to
@thesefer
@Saeid-Abadi
@mkayontour
@Donien
0.4.1
v0.4.1
Release Summary
This release introduces Icinga for Kubernetes (thanks to @gianmarco-mameli), removes deprecation warnings present in the prior
release, adds a new filter and support for the Graphite module.
Major Changes
- Add a role for the installation and configuration of Icinga for Kubernetes.
- Add tasks to role
icingaweb2
to install and configure Icinga for Kubernetes Web.
Minor Changes
- Add
netways.icinga.icinga2_ticket
filter. This filter converts a given string (NodeName) into an Icinga2 ticket using a TicketSalt. - Add Icinga Web 2 module
Graphite
. - Add variable
icingadb_redis_client_certificate
to define whether TLS client certificates are accepted/required/rejected when connecting to the Redis server. Only has an effect when using TLS encryption.
Thanks to
@gianmarco-mameli
@Saeid-Abadi
@mkayontour
@Donien
0.4.0 - NETWAYS
v0.4.0 - NETWAYS
Disclaimer
This release is the same as the previous one (0.4.0). Only the namespace has been changed.
This way a proper release of 0.4.0 with the new namespace 'netways' is available.
Release Summary
Add some features like Icinga2 feature CompatLogger
and support for
Suse in monitoring_plugins
role. Apart from some features and
enhancements this is mostly a bugfix release.
Major Changes
- Add an Ansible Inventory Plugin to fetch host information from
Icinga 2's API for use as an Ansible Inventory - Added Installation of x509 certificate monitoring model
Minor Changes
- Add object
CompatLogger
and featurecompatlog
. - Add support for Suse in the
monitoring_plugins
role. - Add the ability to create additional Icinga Web 2 users - Thanks @losten-git
- Add variable
icinga_monitoring_plugins_dependency_repos
to allow for later modification by the user if specific other repositories need to be activated instead ofpowertools
/crb
- Added support for PostgresQL databases for Icingaweb2 modules that support it
- Added tests for retention configs
- Allow for usage of loop variables from
apply_for
within object - Thanks @lucagubler (#344) - Change documentation to better reflect the intended usage of the variable
icinga2_objects
as a host variable vs. as a play variable. - Enhance IcingaDB retention configs #200
- Icingaweb2: fix duplicate task name at kickstart tasks (#244)
- added pyinilint as ini validator after templates
- added tests for icingaweb2 ini template
- changed all references of
vars['icingaweb2_modules']
toicingaweb2_modules
(#266) - ensure backwards compatibility with bool filter (#218)
- removed localhost condition as default as it could be a localhost connection. (#257)
Bugfixes
- Added block rescue statement if unsupported os found. (#232)
- Adjusted the way variables get looked up from
vars['varname']
tovarname
in most places. - Certain values within Icinga Web
ini
files got quoted incorrectly using single quotes. They are now quoted properly using double quotes (#301). - Changed variable lookups in the form of
vars['variablename']
tovariablename
to avoid explicitly looking up thevars
key of a play. - Fix bug where the port for Icinga Web's own database connection was not set in
resources.ini
. - Fix bug with current beta release of Ansible Core where
XY is dict
does not work for dictionary-like variables. Useisinstance(XY, dict)
now instead. This bug is related to theprefix
filter plugin but might arise again with other parts of the code in the future. - Fix exposure of secret
TicketSalt
inside the API feature. Use constantTicketSalt
as the value forticket_salt
instead which is an empty string if unchanged by the user. - Fix quoting for ! in templating Issue #208
- Fix templating issue where explicitly quoting integer values for use as strings is necessary in certain versions of e.g. Jinja2 - thanks @sol1-matt
- Fixed a bug in
monitoring_plugins
where a requested plugin that is unavailable would cause a failure even though it is a known plugin and should be skipped (#327). - Fixed collect of
icinga2_objects
whenicinga2_config_host
is not defined (#228) - Fixed incorrect failure of x509 variable sanity checks. They now fail as intended instead of due to syntax (#303).
- Fixed wrong variable being referenced to apply x509 mysql database schema. Use
schema_path_mysql
now (#303). - Icinga's packages no longer create
/var/log/icingadb-redis/
. Added tasks that create a log directory based onicingadb_redis_logfile
(#298). - Icinga2: Correctly rename cleanup argument from
icinga2_ca_host_port
toca_host_port
- Icingaweb2: Change order of module state and configuration tasks #225
- Reintroduce file deleted in previous PR #354 to restore functionality in x509 module - thanks to @lutin-malin #366
- Replaced quote filter from ini template
- The Icinga DB config template used two different variables to configure (in)secure TLS communication with the database. It now uses
icingadb_database_tls_insecure
for both the condition and as the actual value (#302). - The type of
vars['icinga2_objects']
was wrongly tested for. This should be a list. The type is now properly checked for (#308). - When using
icinga2_custom_config
sub directories within the foundfiles/
directory can now be used to deploy Icinga 2 configuration. This allows users to freely structure theirfiles/
directory (nested directories) (#309). - fixed
libboost_regex1_54_0
missing for Suse 12. thanks @dh-roland - icingaweb2: run pqslcmd with LANG=C to ensure the output is in english.
- remove superfluous curly brace (#246)
New Modules
netways.icinga.icinga2_compatlogger
- Creates information for CompatLogger object.
Thanks to
@losten-git
@lucagubler
@lutin-malin
@C0rn3j
@sol1-matt
@svenkalinowski
@dh-roland
@mkayontour
@Donien
And more :)
0.4.0
v0.4.0
Release Summary
Add some features like Icinga2 feature CompatLogger
and support for
Suse in monitoring_plugins
role. Apart from some features and
enhancements this is mostly a bugfix release.
Major Changes
- Add an Ansible Inventory Plugin to fetch host information from
Icinga 2's API for use as an Ansible Inventory - Added Installation of x509 certificate monitoring model
Minor Changes
- Add object
CompatLogger
and featurecompatlog
. - Add support for Suse in the
monitoring_plugins
role. - Add the ability to create additional Icinga Web 2 users - Thanks @losten-git
- Add variable
icinga_monitoring_plugins_dependency_repos
to allow for later modification by the user if specific other repositories need to be activated instead ofpowertools
/crb
- Added support for PostgresQL databases for Icingaweb2 modules that support it
- Added tests for retention configs
- Allow for usage of loop variables from
apply_for
within object - Thanks @lucagubler (#344) - Change documentation to better reflect the intended usage of the variable
icinga2_objects
as a host variable vs. as a play variable. - Enhance IcingaDB retention configs #200
- Icingaweb2: fix duplicate task name at kickstart tasks (#244)
- added pyinilint as ini validator after templates
- added tests for icingaweb2 ini template
- changed all references of
vars['icingaweb2_modules']
toicingaweb2_modules
(#266) - ensure backwards compatibility with bool filter (#218)
- removed localhost condition as default as it could be a localhost connection. (#257)
Bugfixes
- Added block rescue statement if unsupported os found. (#232)
- Adjusted the way variables get looked up from
vars['varname']
tovarname
in most places. - Certain values within Icinga Web
ini
files got quoted incorrectly using single quotes. They are now quoted properly using double quotes (#301). - Changed variable lookups in the form of
vars['variablename']
tovariablename
to avoid explicitly looking up thevars
key of a play. - Fix bug where the port for Icinga Web's own database connection was not set in
resources.ini
. - Fix bug with current beta release of Ansible Core where
XY is dict
does not work for dictionary-like variables. Useisinstance(XY, dict)
now instead. This bug is related to theprefix
filter plugin but might arise again with other parts of the code in the future. - Fix exposure of secret
TicketSalt
inside the API feature. Use constantTicketSalt
as the value forticket_salt
instead which is an empty string if unchanged by the user. - Fix quoting for ! in templating Issue #208
- Fix templating issue where explicitly quoting integer values for use as strings is necessary in certain versions of e.g. Jinja2 - thanks @sol1-matt
- Fixed a bug in
monitoring_plugins
where a requested plugin that is unavailable would cause a failure even though it is a known plugin and should be skipped (#327). - Fixed collect of
icinga2_objects
whenicinga2_config_host
is not defined (#228) - Fixed incorrect failure of x509 variable sanity checks. They now fail as intended instead of due to syntax (#303).
- Fixed wrong variable being referenced to apply x509 mysql database schema. Use
schema_path_mysql
now (#303). - Icinga's packages no longer create
/var/log/icingadb-redis/
. Added tasks that create a log directory based onicingadb_redis_logfile
(#298). - Icinga2: Correctly rename cleanup argument from
icinga2_ca_host_port
toca_host_port
- Icingaweb2: Change order of module state and configuration tasks #225
- Reintroduce file deleted in previous PR #354 to restore functionality in x509 module - thanks to @lutin-malin #366
- Replaced quote filter from ini template
- The Icinga DB config template used two different variables to configure (in)secure TLS communication with the database. It now uses
icingadb_database_tls_insecure
for both the condition and as the actual value (#302). - The type of
vars['icinga2_objects']
was wrongly tested for. This should be a list. The type is now properly checked for (#308). - When using
icinga2_custom_config
sub directories within the foundfiles/
directory can now be used to deploy Icinga 2 configuration. This allows users to freely structure theirfiles/
directory (nested directories) (#309). - fixed
libboost_regex1_54_0
missing for Suse 12. thanks @dh-roland - icingaweb2: run pqslcmd with LANG=C to ensure the output is in english.
- remove superfluous curly brace (#246)
New Modules
icinga.icinga.icinga2_compatlogger
- Creates information for CompatLogger object.
Thanks to
@losten-git
@lucagubler
@lutin-malin
@C0rn3j
@sol1-matt
@svenkalinowski
@dh-roland
@mkayontour
@Donien
And more :)
0.3.4
v0.3.4
Release Summary
Bugfix release
Bugfixes
- Added missing port paramater to mysql command within icingadb role (#267)
- Fixed collect of icinga2_objects when icinga2_config_host is not defined (#228) Thanks @gianmarco-mameli
- Fixed issue where reusing the repos role within the monitoring_plugins could cause the deactivation of the repos; using standalone task now (#270)
- Icinga's packages no longer create '/var/log/icingadb-redis/'. Added tasks that create a log directory based on
icingadb_redis_logfile
(#298).
Thanks for the release preparation @Donien!
0.3.3
This is a bugfix release to fix a few minor problems which broke a few features.
Bugfixes
0.3.2
This is a bugfix release, bringing two QOL features, some improvements to the docs, and a fix for the installation process of some of the roles which broke with v0.3.1.
What's Changed
- Added possibility to delegate ticket creation to satellites by @mocdaniel (#211)
- Adjusted the installation of the director module when using the source installation by @mocdaniel (#220)
Bugfixes
- Role repos: Fix bug in variable search - thanks to @gianmarco-mameli #224
Full Changelog: https://github.com/Icinga/ansible-collection-icinga/blob/main/CHANGELOG.rst
0.3.1
What's Changed
- Allow IPv6 address to not exist by @christoph2497 in #192
- Fix naming IcingaDB schema tasks by @christoph2497 in #193
- Fix to use correct URL for Debian Ubuntu by @christoph2497 in #195
- Feature/business process module by @christoph2497 in #196
- icingaweb2: Adjust preferences settings to store preferences in database by @dgoetz in #194
- change icingaweb2_database_import_schema to icingaweb2_db_import_schema by @mrc-rpprcht in #206
- support Raspbian armhf repos by @gianmarco-mameli in #203
- Adds password capabilities to icingadb-redis configuration by @mocdaniel in #202
- Fixed typo in api.yml by @atrestis in #207
- Fix incorrect cycle of installation and removal by @Donien in #210
- Adjusts actions so scenarios don't always run by @mocdaniel in #215
New Contributors
- @christoph2497 made their first contribution in #192
- @dgoetz made their first contribution in #194
- @gianmarco-mameli made their first contribution in #203
- @atrestis made their first contribution in #207
Full Changelog: https://github.com/Icinga/ansible-collection-icinga/blob/main/CHANGELOG.rst
0.3.0
What's Changed
- Add TLS support to import schema for sql features by @martialblog in #131
- Systemd issues with centos7 and debian container by @mkayontour in #134
- Remove apt-key task by @mkayontour in #135
- Certificate directory missing by @mkayontour in #136
- Bug/deprecated include by @mkayontour in #140
- Use lookup plugin to load icinga2_objects to support existing vars (#138) by @martin-gudmundson in #142
- Fix empty directories are always recreated by @mkayontour in #144
- Feature/subscription repositories by @Donien in #145
- Fix/python unittest by @mkayontour in #147
- Change epel task to make use of the 'epel-release' package by @Donien in #152
- Feature/monitoring plugins by @Donien in #150
- fix wrongly include of vars files by @mkayontour in #154
- Add Roles tasks and vars SLES by @dh-roland in #158
- Add role Icinga Web 2 by @mkayontour in #161
- Add Roles icingadb and icingadb_redis by @mkayontour in #155
- Fix/icingadb schema management by @mocdaniel in #166
- Add documentation for Icinga 2 templates by @tbauriedel in #169
- Fix icingaweb2 postgres by @Alpha041087 in #172
- fix psql command by @Alpha041087 in #171
- Fix config generation by @Alpha041087 in #174
- Feature/service management director by @mkayontour in #175
- Fix/template integer handling by @mkayontour in #183
- fix(tmpl): allow strings containing = in ini files, fix #176 by @Yoda-BZH in #180
New Contributors
- @martin-gudmundson made their first contribution in #142
- @Donien made their first contribution in #145
- @dh-roland made their first contribution in #158
- @tbauriedel made their first contribution in #169
- @Alpha041087 made their first contribution in #172
- @Yoda-BZH made their first contribution in #180
Full Changelog: 0.2.1...0.3.0
0.2.1
What's Changed
- Update galaxy.yml by @martialblog in #118
- Add Antsibull Changelog configuration by @martialblog in #129
- Fix sneaky bug in default filter for icinga2_ca_host by @martialblog in #128
- Fix non-idenpotence during feature disabling by @martialblog in #127
- Release v0.2.1 by @martialblog in #130
Full Changelog: 0.2.0...0.2.1