diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 840b82851..64a8ea66b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,19 @@ community.zabbix Release Notes .. contents:: Topics +v3.0.2 +====== + +Bugfixes +-------- + +- zabbix_agent Role - Fix Configure zabbix_agent +- zabbix_agent Role - Fixes a mispelling of the `zabbix_agent_logfile` variable +- zabbix_agent Role - Fixes error in the double assignment of values for the `zabbix_agent_tlspskidentity_check` and `zabbix_agent_tlspskcheck` variables. +- zabbix_agent Role - Fixes multiple errors related to the Windows install +- zabbix_agent, zabbix_proxy, and zabbix_server roles - Fixed problem with include file +- zabbix_repo Role - Fixes error that attempts to use the repo name as a variable. + v3.0.1 ====== diff --git a/README.md b/README.md index f6a66ae2b..e8f40981d 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ You can also include it in a `requirements.yml` file along with other required c --- collections: - name: community.zabbix - version: 3.0.1 + version: 3.0.2 - name: ansible.posix version: 1.3.0 - name: community.general diff --git a/changelogs/.plugin-cache.yaml b/changelogs/.plugin-cache.yaml index 36294d25a..dc5d3d7da 100644 --- a/changelogs/.plugin-cache.yaml +++ b/changelogs/.plugin-cache.yaml @@ -231,4 +231,4 @@ plugins: shell: {} strategy: {} vars: {} -version: 3.0.1 +version: 3.0.2 diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 40c399fa7..985528a63 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -3,1266 +3,1284 @@ releases: 0.1.0: changes: bugfixes: - - zabbix_action - allow str values for ``esc_period`` options (see `#66841 `_). - - zabbix_action - no longer requires ``esc_period`` and ``event_source`` arguments - when ``state=absent``. - - zabbix_host - now supports configuring user macros and host tags on the managed - host (see `#66777 `_). - - zabbix_host_info - ``host_name`` based search results now include host groups. - - zabbix_hostmacro - ``macro_name`` now accepts macros in zabbix native format - as well (e.g. ``{$MACRO}``). - - zabbix_hostmacro - ``macro_value`` is no longer required when ``state=absent``. - - zabbix_proxy (module) - ``interface`` sub-options ``type`` and ``main`` are - now deprecated and will be removed in community.general 3.0.0. Also, the values - passed to ``interface`` are now checked for correct types and unexpected keys. - - zabbix_proxy (module) - added option proxy_address for comma-delimited list - of IP/CIDR addresses or DNS names to accept active proxy requests from. - - zabbix_template - add new option omit_date to remove date from exported/dumped - template (see `#67302 `_). - - zabbix_template - adding new update rule templateLinkage.deleteMissing for - newer zabbix versions (see `#66747 `_). - - zabbix_template_info - add new option omit_date to remove date from exported/dumped - template (see `#67302 `_). + - zabbix_action - allow str values for ``esc_period`` options (see `#66841 `_). + - zabbix_action - no longer requires ``esc_period`` and ``event_source`` arguments + when ``state=absent``. + - zabbix_host - now supports configuring user macros and host tags on the managed + host (see `#66777 `_). + - zabbix_host_info - ``host_name`` based search results now include host groups. + - zabbix_hostmacro - ``macro_name`` now accepts macros in zabbix native format + as well (e.g. ``{$MACRO}``). + - zabbix_hostmacro - ``macro_value`` is no longer required when ``state=absent``. + - zabbix_proxy (module) - ``interface`` sub-options ``type`` and ``main`` are + now deprecated and will be removed in community.general 3.0.0. Also, the values + passed to ``interface`` are now checked for correct types and unexpected keys. + - zabbix_proxy (module) - added option proxy_address for comma-delimited list + of IP/CIDR addresses or DNS names to accept active proxy requests from. + - zabbix_template - add new option omit_date to remove date from exported/dumped + template (see `#67302 `_). + - zabbix_template - adding new update rule templateLinkage.deleteMissing for + newer zabbix versions (see `#66747 `_). + - zabbix_template_info - add new option omit_date to remove date from exported/dumped + template (see `#67302 `_). deprecated_features: - - zabbix_proxy (module) - deprecates ``interface`` sub-options ``type`` and - ``main`` when proxy type is set to passive via ``status=passive``. Make sure - these suboptions are removed from your playbook as they were never supported - by Zabbix in the first place. + - zabbix_proxy (module) - deprecates ``interface`` sub-options ``type`` and + ``main`` when proxy type is set to passive via ``status=passive``. Make sure + these suboptions are removed from your playbook as they were never supported + by Zabbix in the first place. minor_changes: - - zabbix inventory plugin now no longer prints DeprecationWarning when used - with Python3 due to SafeConfigParser. - - zabbix_action - arguments ``event_source`` and ``esc_period`` no longer required - when ``state=absent``. - - zabbix_host - fixed inventory_mode key error, which occurs with Zabbix 4.4.1 - or more (see `#65304 `_). - - zabbix_host - was not possible to update a host where visible_name was not - set in zabbix. - - zabbix_mediatype - Fixed to support zabbix 4.4 or more and python3 (see `#67693 - `_). - - zabbix_template - fixed error when providing empty ``link_templates`` to the - module (see `#66417 `_). - - zabbix_template - fixed invalid (non-importable) output provided by exporting - XML (see `#66466 `_). - - zabbix_user - Fixed an issue where module failed with zabbix 4.4 or above - (see `#67475 `_). - release_summary: '| Release date: 2020-06-15 + - zabbix inventory plugin now no longer prints DeprecationWarning when used + with Python3 due to SafeConfigParser. + - zabbix_action - arguments ``event_source`` and ``esc_period`` no longer required + when ``state=absent``. + - zabbix_host - fixed inventory_mode key error, which occurs with Zabbix 4.4.1 + or more (see `#65304 `_). + - zabbix_host - was not possible to update a host where visible_name was not + set in zabbix. + - zabbix_mediatype - Fixed to support zabbix 4.4 or more and python3 (see `#67693 + `_). + - zabbix_template - fixed error when providing empty ``link_templates`` to the + module (see `#66417 `_). + - zabbix_template - fixed invalid (non-importable) output provided by exporting + XML (see `#66466 `_). + - zabbix_user - Fixed an issue where module failed with zabbix 4.4 or above + (see `#67475 `_). + release_summary: "| Release date: 2020-06-15 - ' + " fragments: - - 010release.yml - release_date: '2020-06-15' + - 010release.yml + release_date: "2020-06-15" 0.2.0: changes: bugfixes: - - zabbix_action - documented ``value2`` parameter and ``notify_all_involved`` - option. - - zabbix_maintenance - changing value of ``description`` parameter now actually - updates maintenance's description. - - zabbix_template - is now able to perform ``state=dump`` when using ``ansible-playbook - --check``. - - zabbix_template - no longer imports template from ``template_json`` or ``template_xml`` - when using ``ansible-playbook --check``. + - zabbix_action - documented ``value2`` parameter and ``notify_all_involved`` + option. + - zabbix_maintenance - changing value of ``description`` parameter now actually + updates maintenance's description. + - zabbix_template - is now able to perform ``state=dump`` when using ``ansible-playbook + --check``. + - zabbix_template - no longer imports template from ``template_json`` or ``template_xml`` + when using ``ansible-playbook --check``. minor_changes: - - Documentation for roles moved to ``docs/`` sub-directory in the collection. - - New **role zabbix_agent** - previously known as dj-wasabi/zabbix-agent (also - see `UPGRADE.md `_ - for each role). - - New **role zabbix_javagateway** - previously known as dj-wasabi/zabbix-javagateway. - - New **role zabbix_proxy** - previously known as dj-wasabi/zabbix-proxy. - - New **role zabbix_server** - previously known as dj-wasabi/zabbix-server. - - New **role zabbix_web** - previously known as dj-wasabi/zabbix-web. - - zabbix_action - new alias ``update_operations`` for ``acknowledge_operations`` - parameter. - - zabbix_host - ``macros`` now support new macro types ``text`` and ``secret``. - - zabbix_host - new option ``details`` (additional SNMP details) for ``interfaces`` - parameter. - - zabbix_host - now supports Zabbix 5.0. - - zabbix_proxy (module) - now supports Zabbix 5.0. - - zabbix_screen - ``host_group`` parameter now accepts multiple groups. - release_summary: '| Release date: 2020-06-15 ' + - Documentation for roles moved to ``docs/`` sub-directory in the collection. + - New **role zabbix_agent** - previously known as dj-wasabi/zabbix-agent (also + see `UPGRADE.md `_ + for each role). + - New **role zabbix_javagateway** - previously known as dj-wasabi/zabbix-javagateway. + - New **role zabbix_proxy** - previously known as dj-wasabi/zabbix-proxy. + - New **role zabbix_server** - previously known as dj-wasabi/zabbix-server. + - New **role zabbix_web** - previously known as dj-wasabi/zabbix-web. + - zabbix_action - new alias ``update_operations`` for ``acknowledge_operations`` + parameter. + - zabbix_host - ``macros`` now support new macro types ``text`` and ``secret``. + - zabbix_host - new option ``details`` (additional SNMP details) for ``interfaces`` + parameter. + - zabbix_host - now supports Zabbix 5.0. + - zabbix_proxy (module) - now supports Zabbix 5.0. + - zabbix_screen - ``host_group`` parameter now accepts multiple groups. + release_summary: "| Release date: 2020-06-15 " fragments: - - 020release.yml - release_date: '2020-06-15' + - 020release.yml + release_date: "2020-06-15" 0.3.0: changes: bugfixes: - - zabbix_action - choices for the ``inventory`` paramter sub option in ``*operations`` - arguments have been clarified to ``manual`` and ``automatic``. - - zabbix_action - fixed error on changed API fields ``*default_message`` and - ``*default_subject`` for Zabbix 5.0 (see `#92 `_). - - zabbix_action - module will no longer fail when searching for global script - provided to ``script_name`` parameter. - - zabbix_action - now correctly selects mediatype for the (normal|recovery|update) - operations with Zabbix 4.4 and newer. - - zabbix_agent role - fixed installation of agent on Windows to directories - with spaces. - - zabbix_agent role - role should no longer fail when looking for ``getenforce`` - binary. - - zabbix_host - module will no longer convert context part of user macro to - upper case. - - zabbix_proxy (role) - will now correctly install python3-libsemanage on RHEL - OS family. - - zabbix_service - fixed the zabbix_service has no idempotency with Zabbix 5.0. - - zabbix_web - now no longer fails when rendering apache vhost template. + - zabbix_action - choices for the ``inventory`` paramter sub option in ``*operations`` + arguments have been clarified to ``manual`` and ``automatic``. + - zabbix_action - fixed error on changed API fields ``*default_message`` and + ``*default_subject`` for Zabbix 5.0 (see `#92 `_). + - zabbix_action - module will no longer fail when searching for global script + provided to ``script_name`` parameter. + - zabbix_action - now correctly selects mediatype for the (normal|recovery|update) + operations with Zabbix 4.4 and newer. + - zabbix_agent role - fixed installation of agent on Windows to directories + with spaces. + - zabbix_agent role - role should no longer fail when looking for ``getenforce`` + binary. + - zabbix_host - module will no longer convert context part of user macro to + upper case. + - zabbix_proxy (role) - will now correctly install python3-libsemanage on RHEL + OS family. + - zabbix_service - fixed the zabbix_service has no idempotency with Zabbix 5.0. + - zabbix_web - now no longer fails when rendering apache vhost template. minor_changes: - - All Roles now **support Zabbix 5.0** and by default install this version (see - `#131 `_ - and `#121 `_). - - Roles will now install gnupg on Debian OS family if not present. - - zabbix_action - no longer requires ``password`` and ``ssh_*key_file`` parameters - at the same time for ``remote_command`` operations of type SSH. - - zabbix_action - parameter ``ssh_auth_type`` for SSH ``remote_command`` operation - now correctly identifies which other parameters are required. - - zabbix_discovery_rule - refactoring module to use ``module_utils`` classes - and functions, adjust return values on success, add documentation for return - values. - - zabbix_discovery_rule - refactoring the module to remove unnecessary variables - and fix a variable typo. - - zabbix_mediatype - new options ``message_templates``, ``description`` and - many more related to ``type=webhook``. - - zabbix_mediatype - now supports new ``webhook`` media type. - release_summary: '| Release date: 2020-07-26 + - All Roles now **support Zabbix 5.0** and by default install this version (see + `#131 `_ + and `#121 `_). + - Roles will now install gnupg on Debian OS family if not present. + - zabbix_action - no longer requires ``password`` and ``ssh_*key_file`` parameters + at the same time for ``remote_command`` operations of type SSH. + - zabbix_action - parameter ``ssh_auth_type`` for SSH ``remote_command`` operation + now correctly identifies which other parameters are required. + - zabbix_discovery_rule - refactoring module to use ``module_utils`` classes + and functions, adjust return values on success, add documentation for return + values. + - zabbix_discovery_rule - refactoring the module to remove unnecessary variables + and fix a variable typo. + - zabbix_mediatype - new options ``message_templates``, ``description`` and + many more related to ``type=webhook``. + - zabbix_mediatype - now supports new ``webhook`` media type. + release_summary: "| Release date: 2020-07-26 - ' + " fragments: - - 030release.yml + - 030release.yml modules: - - description: Create/delete/update Zabbix discovery rules - name: zabbix_discovery_rule - namespace: '' - - description: Create/delete/update Zabbix user groups - name: zabbix_usergroup - namespace: '' - release_date: '2020-07-26' + - description: Create/delete/update Zabbix discovery rules + name: zabbix_discovery_rule + namespace: "" + - description: Create/delete/update Zabbix user groups + name: zabbix_usergroup + namespace: "" + release_date: "2020-07-26" 1.0.0: changes: breaking_changes: - - zabbix_javagateway - options ``javagateway_pidfile``, ``javagateway_listenip``, - ``javagateway_listenport`` and ``javagateway_startpollers`` renamed to ``zabbix_javagateway_xyz`` - (see `UPGRADE.md `_). + - zabbix_javagateway - options ``javagateway_pidfile``, ``javagateway_listenip``, + ``javagateway_listenport`` and ``javagateway_startpollers`` renamed to ``zabbix_javagateway_xyz`` + (see `UPGRADE.md `_). bugfixes: - - All Roles - a ``handler`` is configured when ``zabbix_http(s)_proxy`` is defined - which will remove the proxy line from the repository files. This results that - execution of the roles are not idempotent anymore. - - zabbix_proxy (role) - ``StartPreprocessors`` only works with version 4.2 or - higher. When a lower version is used, it will not be added to the configuration. - - zabbix_proxy (role) - only install the sql files that needs to be executed - for when ``zabbix_repo`` is set to ``epel``. - - zabbix_server - ``StartPreprocessors`` only works with version 4.2 or higher. - When a lower version is used, it will not be added to the configuration. - - zabbix_server - only install the sql files that needs to be executed for when - ``zabbix_repo`` is set to ``epel``. + - All Roles - a ``handler`` is configured when ``zabbix_http(s)_proxy`` is defined + which will remove the proxy line from the repository files. This results that + execution of the roles are not idempotent anymore. + - zabbix_proxy (role) - ``StartPreprocessors`` only works with version 4.2 or + higher. When a lower version is used, it will not be added to the configuration. + - zabbix_proxy (role) - only install the sql files that needs to be executed + for when ``zabbix_repo`` is set to ``epel``. + - zabbix_server - ``StartPreprocessors`` only works with version 4.2 or higher. + When a lower version is used, it will not be added to the configuration. + - zabbix_server - only install the sql files that needs to be executed for when + ``zabbix_repo`` is set to ``epel``. minor_changes: - - Added the possibility to configure the ``mode`` for the ``zabbix_{agent,server,proxy}_include`` - directories. - - All Roles - added the possibility to configure the ``mode`` for the ``yum`` - repositories files in case it contains credentials. - - zabbix_agent role - ``zabbix-sender`` and ``zabbix-get`` will not be installed - when ``zabbix_repo`` is set to ``epel``, as they are not part of the repository. - - zabbix_agent role - added option to change between HTTP/HTTPS with ``zabbix_repo_yum_schema``. - - zabbix_agent role - can also install the zabbix-agent2 application when ``zabbix_agent2`` - is set to ``true``. - - zabbix_proxy (role) - a user and group are created on the host when ``zabbix_repo`` - is set to ``epel``. - - zabbix_proxy (role) - now supports ``startpreprocessors`` setting and encryption - when connecting to database (see `#164 `_). - - zabbix_server - a user and group are created on the host when ``zabbix_repo`` - is set to ``epel``. - - zabbix_server - added option to change between HTTP/HTTPS with ``zabbix_repo_yum_schema``. - - zabbix_server - now supports ``startpreprocessors`` setting and encryption - when connecting to database (see `#164 `_). - - zabbix_web - a property is added ``zabbix_web_doubleprecision`` which currently - is set to ``false`` for default installations. For new installations this - should be set to ``True``. For upgraded installations, please read database - `upgrade notes `_ - (Paragraph "Enabling extended range of numeric (float) values") before enabling - this option. - - zabbix_web - added option to change between HTTP/HTTPS with ``zabbix_repo_yum_schema``. - - zabbix_web - don't remove the files that Zabbix will install during installation - when you don't want to configure a virtual host configuration. - release_summary: '| Release date: 2020-08-16 + - Added the possibility to configure the ``mode`` for the ``zabbix_{agent,server,proxy}_include`` + directories. + - All Roles - added the possibility to configure the ``mode`` for the ``yum`` + repositories files in case it contains credentials. + - zabbix_agent role - ``zabbix-sender`` and ``zabbix-get`` will not be installed + when ``zabbix_repo`` is set to ``epel``, as they are not part of the repository. + - zabbix_agent role - added option to change between HTTP/HTTPS with ``zabbix_repo_yum_schema``. + - zabbix_agent role - can also install the zabbix-agent2 application when ``zabbix_agent2`` + is set to ``true``. + - zabbix_proxy (role) - a user and group are created on the host when ``zabbix_repo`` + is set to ``epel``. + - zabbix_proxy (role) - now supports ``startpreprocessors`` setting and encryption + when connecting to database (see `#164 `_). + - zabbix_server - a user and group are created on the host when ``zabbix_repo`` + is set to ``epel``. + - zabbix_server - added option to change between HTTP/HTTPS with ``zabbix_repo_yum_schema``. + - zabbix_server - now supports ``startpreprocessors`` setting and encryption + when connecting to database (see `#164 `_). + - zabbix_web - a property is added ``zabbix_web_doubleprecision`` which currently + is set to ``false`` for default installations. For new installations this + should be set to ``True``. For upgraded installations, please read database + `upgrade notes `_ + (Paragraph "Enabling extended range of numeric (float) values") before enabling + this option. + - zabbix_web - added option to change between HTTP/HTTPS with ``zabbix_repo_yum_schema``. + - zabbix_web - don't remove the files that Zabbix will install during installation + when you don't want to configure a virtual host configuration. + release_summary: "| Release date: 2020-08-16 - ' + " fragments: - - 100-release-prep.yaml - - role-agent-supports-zabbix-agent2.yaml - - role-all-configure-mode-include.yaml - - role-all-configure-mode-with-handlers.yaml - - role-all-fix-epel-installations.yaml - - role-web-add-doubleprecision.yaml - - role-web-zabbix_vhost-dont-remove-files.yaml - release_date: '2020-08-16' + - 100-release-prep.yaml + - role-agent-supports-zabbix-agent2.yaml + - role-all-configure-mode-include.yaml + - role-all-configure-mode-with-handlers.yaml + - role-all-fix-epel-installations.yaml + - role-web-add-doubleprecision.yaml + - role-web-zabbix_vhost-dont-remove-files.yaml + release_date: "2020-08-16" 1.1.0: changes: bugfixes: - - All Roles - missing ``become`` set to ``true`` was added to each task that - requires admin privleges. - - zabbix_agent role - added new properties and updated documentation to allow - for correct Zabbix Agent2 configuration. - - zabbix_agent role - fixed bug where Nginx prevented Apache from working as - it was part of the FPM configuration. + - All Roles - missing ``become`` set to ``true`` was added to each task that + requires admin privleges. + - zabbix_agent role - added new properties and updated documentation to allow + for correct Zabbix Agent2 configuration. + - zabbix_agent role - fixed bug where Nginx prevented Apache from working as + it was part of the FPM configuration. minor_changes: - - All Roles - added ``zabbix_{agent,web,server,proxy,javagateway}_conf_mode`` - option for configuring a mode of the configuration file for each Zabbix service. - - zabbix_proxy (role) - added an option ``innodb_default_row_format`` for MariaDB/MySQL - if it isn't set to ``dynamic``. - - zabbix_server - fixed installation output when using MySQL database to not - print PostgreSQL. - - zabbix_user - ``passwd`` no longer required when ALL groups in ``usrgrps`` - use LDAP as ``gui_access`` (see `#240 `_). - - zabbix_user - no longer requires ``usrgrps`` when ``state=absent`` (see `#240 - `_). - - zabbix_web - added several configuration options for the PHP-FPM setup to - configure the listen (socket) file. - - zabbix_web - added support for configuring Zabbix Web with Nginx, same way - as with Apache. - release_summary: '| Release date: 2020-10-22 + - All Roles - added ``zabbix_{agent,web,server,proxy,javagateway}_conf_mode`` + option for configuring a mode of the configuration file for each Zabbix service. + - zabbix_proxy (role) - added an option ``innodb_default_row_format`` for MariaDB/MySQL + if it isn't set to ``dynamic``. + - zabbix_server - fixed installation output when using MySQL database to not + print PostgreSQL. + - zabbix_user - ``passwd`` no longer required when ALL groups in ``usrgrps`` + use LDAP as ``gui_access`` (see `#240 `_). + - zabbix_user - no longer requires ``usrgrps`` when ``state=absent`` (see `#240 + `_). + - zabbix_web - added several configuration options for the PHP-FPM setup to + configure the listen (socket) file. + - zabbix_web - added support for configuring Zabbix Web with Nginx, same way + as with Apache. + release_summary: "| Release date: 2020-10-22 - ' + " fragments: - - 240-zabbix-user-nopass-ldap.yaml - - role-agent-correct-usage-acl.yaml - - role-agent-zabbix-agent2-props.yaml - - role-server-screen-output.yaml - - role-web-add-support-for-nginx.yaml - - role-web-added-some-properties.yaml - - roles-all-add-become.yaml - - roles-all-configure-conf-mode.yaml - - roles-server-proxy-add-innodb-check.yaml - release_date: '2020-10-22' + - 240-zabbix-user-nopass-ldap.yaml + - role-agent-correct-usage-acl.yaml + - role-agent-zabbix-agent2-props.yaml + - role-server-screen-output.yaml + - role-web-add-support-for-nginx.yaml + - role-web-added-some-properties.yaml + - roles-all-add-become.yaml + - roles-all-configure-conf-mode.yaml + - roles-server-proxy-add-innodb-check.yaml + release_date: "2020-10-22" 1.2.0: changes: bugfixes: - - When installing the Zabbix packages, we disable all other yum repositories - except the one for the Zabbix. - - zabbix_agent role - Agent 2 also be able to use userparameters file. - - zabbix_agent role - Also work on SLES 12 sp5 - - zabbix_agent role - Documented the property 'zabbix_proxy_ip' in the documentation. - - zabbix_agent role - There was an task that wasn't able to use an http(s)_proxy - environment while installing an package. - - zabbix_agent role - Windows - Able to create PSK file - - zabbix_agent role - Windows - Fixing download links to proper version/url - - zabbix_agent role - Windows - Removal of not working property - - zabbix_agent role - Zabbix packages were not able to install properly on Fedora. - When the packages are installed, the version will be appended to the package - name. This is eofr all RedHat related OS'es. - - zabbix_agent role - fixed issue with zabbix_agent2_tlspsk_auto having no effect - when using zabbix_agent2 - - zabbix_agent role - fixed issue with zabbix_api_create_hosts and TLS configuration - when using zabbix_agent2, where zabbix_agent_tls* settings were used instead - of zabbix_agent2_tls* - - zabbix_host - module will no longer require ``interfaces`` to be present when - creating host with Zabbix 5.2 (https://github.com/ansible-collections/community.zabbix/pull/291). - - zabbix_host - should no longer fail with 'host cannot have more than one default - interface' error (https://github.com/ansible-collections/community.zabbix/pull/309). - - zabbix_proxy (role) - Added missing paragraph for the SQLite3 as database. - - zabbix_proxy (role) - The become option was missing in some essential tasks - when installing the Zabbix Proxy with SQLite3 as database. - - zabbix_proxy (role) - Various documentation fixes removing the Zabbix Server - and replaced it with actual Zabbix Proxy information. - - zabbix_proxy - Added new property 'zabbix_proxy_ip' to determine ip for host - running the Zabbix Proxy. - - zabbix_proxy - The 'interface' option was missing when creating an Proxy via - the API. - - zabbix_template - fixed documentation for ``macros`` argument (https://github.com/ansible-collections/community.zabbix/pull/296). - - zabbix_template - fixed encode error when using Python2 (https://github.com/ansible-collections/community.zabbix/pull/297). - - zabbix_template - fixed issue when importing templates to zabbix version. - >= 5.2 - - zabbix_template_info - fixed encode error when using Python2 (https://github.com/ansible-collections/community.zabbix/pull/297). - - zabbix_user - disable no_log warning for option override_password. - - zabbix_user - fixed issue where module couldn't create a user since Zabbix - 5.2 (https://github.com/ansible-collections/community.zabbix/pull/260). - - zabbix_web - fixed issue Role cannot install Zabbix web 5.0 on RHEL 7 (https://github.com/ansible-collections/community.zabbix/issues/202). + - When installing the Zabbix packages, we disable all other yum repositories + except the one for the Zabbix. + - zabbix_agent role - Agent 2 also be able to use userparameters file. + - zabbix_agent role - Also work on SLES 12 sp5 + - zabbix_agent role - Documented the property 'zabbix_proxy_ip' in the documentation. + - zabbix_agent role - There was an task that wasn't able to use an http(s)_proxy + environment while installing an package. + - zabbix_agent role - Windows - Able to create PSK file + - zabbix_agent role - Windows - Fixing download links to proper version/url + - zabbix_agent role - Windows - Removal of not working property + - zabbix_agent role - Zabbix packages were not able to install properly on Fedora. + When the packages are installed, the version will be appended to the package + name. This is eofr all RedHat related OS'es. + - zabbix_agent role - fixed issue with zabbix_agent2_tlspsk_auto having no effect + when using zabbix_agent2 + - zabbix_agent role - fixed issue with zabbix_api_create_hosts and TLS configuration + when using zabbix_agent2, where zabbix_agent_tls* settings were used instead + of zabbix_agent2_tls* + - zabbix_host - module will no longer require ``interfaces`` to be present when + creating host with Zabbix 5.2 (https://github.com/ansible-collections/community.zabbix/pull/291). + - zabbix_host - should no longer fail with 'host cannot have more than one default + interface' error (https://github.com/ansible-collections/community.zabbix/pull/309). + - zabbix_proxy (role) - Added missing paragraph for the SQLite3 as database. + - zabbix_proxy (role) - The become option was missing in some essential tasks + when installing the Zabbix Proxy with SQLite3 as database. + - zabbix_proxy (role) - Various documentation fixes removing the Zabbix Server + and replaced it with actual Zabbix Proxy information. + - zabbix_proxy - Added new property 'zabbix_proxy_ip' to determine ip for host + running the Zabbix Proxy. + - zabbix_proxy - The 'interface' option was missing when creating an Proxy via + the API. + - zabbix_template - fixed documentation for ``macros`` argument (https://github.com/ansible-collections/community.zabbix/pull/296). + - zabbix_template - fixed encode error when using Python2 (https://github.com/ansible-collections/community.zabbix/pull/297). + - zabbix_template - fixed issue when importing templates to zabbix version. + >= 5.2 + - zabbix_template_info - fixed encode error when using Python2 (https://github.com/ansible-collections/community.zabbix/pull/297). + - zabbix_user - disable no_log warning for option override_password. + - zabbix_user - fixed issue where module couldn't create a user since Zabbix + 5.2 (https://github.com/ansible-collections/community.zabbix/pull/260). + - zabbix_web - fixed issue Role cannot install Zabbix web 5.0 on RHEL 7 (https://github.com/ansible-collections/community.zabbix/issues/202). minor_changes: - - Updated the roles to support Zabbix 5.2. - - zabbix_agent role - Added a new property `zabbix_agent_dont_detect_ip` when - set to true, it won't detect the ips and no need to install the python module - `netaddr`. - - zabbix_agent role - Added parameter `zabbix_agent_package_remove` when set - to `true` and `zabbix_agent2` is set to `true` it will uninstall the `zabbix-agent` - service and package. - - zabbix_agent role - added `zabbix_agent_install_agent_only` Will only install - the Zabbix Agent package and not the `zabbix-sender` or `zabbix-get` packages. - - zabbix_template - Fixed to decode Unicode Escape of multibyte strings in an - importing template data(https://github.com/ansible-collections/community.zabbix/pull/226). - - zabbix_user - added new parameters to set timezone and role_name for users - (https://github.com/ansible-collections/community.zabbix/pull/260). - - zabbix_user - user_medias now defaults to None and is optional (https://github.com/ansible-collections/community.zabbix/pull/264). - - zabbix_web - added `zabbix_web_rhel_release` which enable scl on RHEL (https://github.com/ansible-collections/community.zabbix/pull/266). - - zabbix_web - quality of life improvements when using Nginx (https://github.com/ansible-collections/community.zabbix/pull/304). - release_summary: '| Release date: 2021-01-11 | Last major release to support - Zabbix server 3.X versions in plugins.' + - Updated the roles to support Zabbix 5.2. + - zabbix_agent role - Added a new property `zabbix_agent_dont_detect_ip` when + set to true, it won't detect the ips and no need to install the python module + `netaddr`. + - zabbix_agent role - Added parameter `zabbix_agent_package_remove` when set + to `true` and `zabbix_agent2` is set to `true` it will uninstall the `zabbix-agent` + service and package. + - zabbix_agent role - added `zabbix_agent_install_agent_only` Will only install + the Zabbix Agent package and not the `zabbix-sender` or `zabbix-get` packages. + - zabbix_template - Fixed to decode Unicode Escape of multibyte strings in an + importing template data(https://github.com/ansible-collections/community.zabbix/pull/226). + - zabbix_user - added new parameters to set timezone and role_name for users + (https://github.com/ansible-collections/community.zabbix/pull/260). + - zabbix_user - user_medias now defaults to None and is optional (https://github.com/ansible-collections/community.zabbix/pull/264). + - zabbix_web - added `zabbix_web_rhel_release` which enable scl on RHEL (https://github.com/ansible-collections/community.zabbix/pull/266). + - zabbix_web - quality of life improvements when using Nginx (https://github.com/ansible-collections/community.zabbix/pull/304). + release_summary: + "| Release date: 2021-01-11 | Last major release to support + Zabbix server 3.X versions in plugins." fragments: - - 226-zabbix_template.yaml - - 254-disable-no-log-warning.yml - - 260-zabbix_user.yml - - 264-allow-user_medias-to-be-optional.yaml - - 266-zabbix_web.yml - - 297-zabbix_template_modules.yml - - 309-host-interfaces.yaml - - agent-missing-proxy-task.yaml - - agent-not-detect-ips.yml - - agent-use-version-for-rh.yml - - agent2-psk-fixes.yml - - module-zabbix_host-interfaces-not-required.yaml - - module-zabbix_template-argspec-doc.yaml - - proxy-able-to-use-interface.yaml - - role-agent-allow-uninstall-agent.yaml - - role-agent-userparameter.yaml - - role-agent-windows-service-handling.yaml - - role-agent-work-with-sles.yaml - - role-proxy-sqlite3-zabbix-proxy.yaml - - roles-all-enable-zabbix-disable-rest.yaml - - roles-all-update-to-zabbix-52.yml - - templatescreens-fix.yml - release_date: '2021-01-11' + - 226-zabbix_template.yaml + - 254-disable-no-log-warning.yml + - 260-zabbix_user.yml + - 264-allow-user_medias-to-be-optional.yaml + - 266-zabbix_web.yml + - 297-zabbix_template_modules.yml + - 309-host-interfaces.yaml + - agent-missing-proxy-task.yaml + - agent-not-detect-ips.yml + - agent-use-version-for-rh.yml + - agent2-psk-fixes.yml + - module-zabbix_host-interfaces-not-required.yaml + - module-zabbix_template-argspec-doc.yaml + - proxy-able-to-use-interface.yaml + - role-agent-allow-uninstall-agent.yaml + - role-agent-userparameter.yaml + - role-agent-windows-service-handling.yaml + - role-agent-work-with-sles.yaml + - role-proxy-sqlite3-zabbix-proxy.yaml + - roles-all-enable-zabbix-disable-rest.yaml + - roles-all-update-to-zabbix-52.yml + - templatescreens-fix.yml + release_date: "2021-01-11" 1.3.0: changes: bugfixes: - - zabbix_action - now properly filters discovery rule checks by name (https://github.com/ansible-collections/community.zabbix/pull/349). - - zabbix_agent role - corrected version for Windows agents (https://github.com/ansible-collections/community.zabbix/pull/316). - - zabbix_agent role - fixed download URL for MacOS (https://github.com/ansible-collections/community.zabbix/pull/325). - - zabbix_server - now installs correct MySQL client packages on RHEL8 systems - (https://github.com/ansible-collections/community.zabbix/pull/343). - - zabbix_template - fixed an issue with Python2 where module wouldn't decode - Unicode characters (https://github.com/ansible-collections/community.zabbix/pull/322). - - zabbix_web - fixed installation of python3-libsemanage package RHEL7 and older - systems (https://github.com/ansible-collections/community.zabbix/pull/330). - - zabbix_web - role should now correctly determine naming of PHP packages on - older systems (https://github.com/ansible-collections/community.zabbix/pull/344). - - zabbix_web - updated default PHP version for Debian10 (https://github.com/ansible-collections/community.zabbix/pull/323). + - zabbix_action - now properly filters discovery rule checks by name (https://github.com/ansible-collections/community.zabbix/pull/349). + - zabbix_agent role - corrected version for Windows agents (https://github.com/ansible-collections/community.zabbix/pull/316). + - zabbix_agent role - fixed download URL for MacOS (https://github.com/ansible-collections/community.zabbix/pull/325). + - zabbix_server - now installs correct MySQL client packages on RHEL8 systems + (https://github.com/ansible-collections/community.zabbix/pull/343). + - zabbix_template - fixed an issue with Python2 where module wouldn't decode + Unicode characters (https://github.com/ansible-collections/community.zabbix/pull/322). + - zabbix_web - fixed installation of python3-libsemanage package RHEL7 and older + systems (https://github.com/ansible-collections/community.zabbix/pull/330). + - zabbix_web - role should now correctly determine naming of PHP packages on + older systems (https://github.com/ansible-collections/community.zabbix/pull/344). + - zabbix_web - updated default PHP version for Debian10 (https://github.com/ansible-collections/community.zabbix/pull/323). minor_changes: - - zabbix_agent role - added support for installations on arm64 systems (https://github.com/ansible-collections/community.zabbix/pull/320). - - zabbix_proxy - now supports configuring StatsAllowedIP (https://github.com/ansible-collections/community.zabbix/pull/337). - - zabbix_server - added support for installtions on arm64 systems (https://github.com/ansible-collections/community.zabbix/pull/320). - - zabbix_web - added support for installtions on arm64 systems (https://github.com/ansible-collections/community.zabbix/pull/320). - release_summary: '| Release date: 2021-03-20 | Last major release to support - Zabbix server 3.X versions in plugins.' + - zabbix_agent role - added support for installations on arm64 systems (https://github.com/ansible-collections/community.zabbix/pull/320). + - zabbix_proxy - now supports configuring StatsAllowedIP (https://github.com/ansible-collections/community.zabbix/pull/337). + - zabbix_server - added support for installtions on arm64 systems (https://github.com/ansible-collections/community.zabbix/pull/320). + - zabbix_web - added support for installtions on arm64 systems (https://github.com/ansible-collections/community.zabbix/pull/320). + release_summary: + "| Release date: 2021-03-20 | Last major release to support + Zabbix server 3.X versions in plugins." security_fixes: - - zabbix_action - no longer exposes remote SSH command password used in operations, - recovery & acknowledge operations to system logs (https://github.com/ansible-collections/community.zabbix/pull/345). - - zabbix_discovery_rule - no longer exposes SNMPv3 auth and priv passphrases - to system logs (https://github.com/ansible-collections/community.zabbix/pull/345). - - zabbix_host - no longer exposes SNMPv3 auth and priv passphrases to system - logs (https://github.com/ansible-collections/community.zabbix/pull/345). + - zabbix_action - no longer exposes remote SSH command password used in operations, + recovery & acknowledge operations to system logs (https://github.com/ansible-collections/community.zabbix/pull/345). + - zabbix_discovery_rule - no longer exposes SNMPv3 auth and priv passphrases + to system logs (https://github.com/ansible-collections/community.zabbix/pull/345). + - zabbix_host - no longer exposes SNMPv3 auth and priv passphrases to system + logs (https://github.com/ansible-collections/community.zabbix/pull/345). fragments: - - 316-zbx-agent-windows-long-version.yaml - - 322-zabbix_template.yml - - 323-zabbix_web.yml - - 325-zbx-agent-macos.yaml - - 330-zabbix_web-selinux.yaml - - 337-zabbix_proxy-statsAllowedIP.yaml - - 343-zabbix_server-rhel8-mysql.yaml - - 344-zabbix_web-legacyphp.yaml - - 345-security-fixes-no_log.yaml - - 349-zabbix_action-dcheck-filter.yaml - - raspberry-server.yaml - - raspberry.yaml - release_date: '2021-03-20' + - 316-zbx-agent-windows-long-version.yaml + - 322-zabbix_template.yml + - 323-zabbix_web.yml + - 325-zbx-agent-macos.yaml + - 330-zabbix_web-selinux.yaml + - 337-zabbix_proxy-statsAllowedIP.yaml + - 343-zabbix_server-rhel8-mysql.yaml + - 344-zabbix_web-legacyphp.yaml + - 345-security-fixes-no_log.yaml + - 349-zabbix_action-dcheck-filter.yaml + - raspberry-server.yaml + - raspberry.yaml + release_date: "2021-03-20" 1.4.0: changes: bugfixes: - - zabbix_agent role - StatusPort will be configured only when `zabbix_agent2_statusport` - is defined (https://github.com/ansible-collections/community.zabbix/pull/378) - - zabbix_agent role - fixed issue preventing installation of zabbix-agent 4.2 - on Ubuntu Focal 20.04 (https://github.com/ansible-collections/community.zabbix/pull/390) - - zabbix_agent role - role will now configure correct port for hostinterface - in Zabbix Server if `zabbix_agent2_listenport` is defined (https://github.com/ansible-collections/community.zabbix/pull/400) - - zabbix_agent role - should no longer be failing on Windows platform due to - re-running all of the tasks for the 2nd time (https://github.com/ansible-collections/community.zabbix/pull/376) - - zabbix_agent role - should no longer fail while cleaning up zabbix_agent installation - if Zabbix Agent2 is being used (https://github.com/ansible-collections/community.zabbix/pull/409) - - zabbix_agent role - will no longer install zabbix_get package on Debian systems - when `zabbix_agent_install_agent_only` is defined (https://github.com/ansible-collections/community.zabbix/pull/363) - - zabbix_host - fixed issue where module was idempotent when multiple host interfaces - of the same type were present (https://github.com/ansible-collections/community.zabbix/pull/391) - - zabbix_proxy (role) - will no longer fail on proxy creation in Zabbix Server - when TLS parameters are used (https://github.com/ansible-collections/community.zabbix/pull/388) - - zabbix_server - Removed the removal everything from /tmp directory command - as it removes things that it shouldnt do. - - zabbix_template - first time import of template now works with Zabbix 5.4 - (https://github.com/ansible-collections/community.zabbix/pull/407), please - note that rerunning the task will fail as there are breaking changes in Zabbix - 5.4 API that module not yet covers. - - zabbix_user - now works with Zabbix 5.4 (https://github.com/ansible-collections/community.zabbix/pull/406) + - zabbix_agent role - StatusPort will be configured only when `zabbix_agent2_statusport` + is defined (https://github.com/ansible-collections/community.zabbix/pull/378) + - zabbix_agent role - fixed issue preventing installation of zabbix-agent 4.2 + on Ubuntu Focal 20.04 (https://github.com/ansible-collections/community.zabbix/pull/390) + - zabbix_agent role - role will now configure correct port for hostinterface + in Zabbix Server if `zabbix_agent2_listenport` is defined (https://github.com/ansible-collections/community.zabbix/pull/400) + - zabbix_agent role - should no longer be failing on Windows platform due to + re-running all of the tasks for the 2nd time (https://github.com/ansible-collections/community.zabbix/pull/376) + - zabbix_agent role - should no longer fail while cleaning up zabbix_agent installation + if Zabbix Agent2 is being used (https://github.com/ansible-collections/community.zabbix/pull/409) + - zabbix_agent role - will no longer install zabbix_get package on Debian systems + when `zabbix_agent_install_agent_only` is defined (https://github.com/ansible-collections/community.zabbix/pull/363) + - zabbix_host - fixed issue where module was idempotent when multiple host interfaces + of the same type were present (https://github.com/ansible-collections/community.zabbix/pull/391) + - zabbix_proxy (role) - will no longer fail on proxy creation in Zabbix Server + when TLS parameters are used (https://github.com/ansible-collections/community.zabbix/pull/388) + - zabbix_server - Removed the removal everything from /tmp directory command + as it removes things that it shouldnt do. + - zabbix_template - first time import of template now works with Zabbix 5.4 + (https://github.com/ansible-collections/community.zabbix/pull/407), please + note that rerunning the task will fail as there are breaking changes in Zabbix + 5.4 API that module not yet covers. + - zabbix_user - now works with Zabbix 5.4 (https://github.com/ansible-collections/community.zabbix/pull/406) minor_changes: - - All Roles were updated to support Zabbix 5.4 release (https://github.com/ansible-collections/community.zabbix/pull/405) - - new inventory plugin zabbix_inventory (https://github.com/ansible-collections/community.zabbix/pull/373) - - new module plugin zabbix_globalmacro (https://github.com/ansible-collections/community.zabbix/pull/377) - - zabbix_agent role - `zabbix_agent_src_reinstall` now defaults to `False` (https://github.com/ansible-collections/community.zabbix/pull/403) - - zabbix_agent role - now supports setting AllowKey (https://github.com/ansible-collections/community.zabbix/pull/358) - - zabbix_globalmacros - it is now possible to create global macros using this - module (https://github.com/ansible-collections/community.zabbix/pull/377). - - zabbix_inventory - Created Ansible - Zabbix inventory plugin to create dynamic - inventory from Zabbix. - - zabbix_maintenance - it is now possible to target hosts by their technical - name if it differs from the visible name - - zabbix_proxy - Add MySQL Python 3 package installation. - - zabbix_server - Add MySQL Python 3 package installation. - - zabbix_server - now supports setting StartLLDProcessors (https://github.com/ansible-collections/community.zabbix/pull/361) - - zabbix_user - now supports parameter `username` as an alternative to `alias` - (https://github.com/ansible-collections/community.zabbix/pull/406) - - zabbix_user - removed some of the default values because a configuration should - be changed only if specified as a parameter (https://github.com/ansible-collections/community.zabbix/pull/382). - - zabbix_web - now supports setting SAML certificates (https://github.com/ansible-collections/community.zabbix/pull/408) + - All Roles were updated to support Zabbix 5.4 release (https://github.com/ansible-collections/community.zabbix/pull/405) + - new inventory plugin zabbix_inventory (https://github.com/ansible-collections/community.zabbix/pull/373) + - new module plugin zabbix_globalmacro (https://github.com/ansible-collections/community.zabbix/pull/377) + - zabbix_agent role - `zabbix_agent_src_reinstall` now defaults to `False` (https://github.com/ansible-collections/community.zabbix/pull/403) + - zabbix_agent role - now supports setting AllowKey (https://github.com/ansible-collections/community.zabbix/pull/358) + - zabbix_globalmacros - it is now possible to create global macros using this + module (https://github.com/ansible-collections/community.zabbix/pull/377). + - zabbix_inventory - Created Ansible - Zabbix inventory plugin to create dynamic + inventory from Zabbix. + - zabbix_maintenance - it is now possible to target hosts by their technical + name if it differs from the visible name + - zabbix_proxy - Add MySQL Python 3 package installation. + - zabbix_server - Add MySQL Python 3 package installation. + - zabbix_server - now supports setting StartLLDProcessors (https://github.com/ansible-collections/community.zabbix/pull/361) + - zabbix_user - now supports parameter `username` as an alternative to `alias` + (https://github.com/ansible-collections/community.zabbix/pull/406) + - zabbix_user - removed some of the default values because a configuration should + be changed only if specified as a parameter (https://github.com/ansible-collections/community.zabbix/pull/382). + - zabbix_web - now supports setting SAML certificates (https://github.com/ansible-collections/community.zabbix/pull/408) fragments: - - 350-zabbix_maintenance-visible_name.yaml - - 373-create_zabbix_inventory.yaml - - 377-create_globalmacros_module.yaml - - 382-zabbix_user.yml - - 391-zabbix_host-intf_idempotency_fix.yml - - zabbix-proxy-package-installation.yaml - - zabbix-server-tmp-dir.yml - - zbx-catch-all.yml + - 350-zabbix_maintenance-visible_name.yaml + - 373-create_zabbix_inventory.yaml + - 377-create_globalmacros_module.yaml + - 382-zabbix_user.yml + - 391-zabbix_host-intf_idempotency_fix.yml + - zabbix-proxy-package-installation.yaml + - zabbix-server-tmp-dir.yml + - zbx-catch-all.yml modules: - - description: Create/update/delete Zabbix Global macros - name: zabbix_globalmacro - namespace: '' + - description: Create/update/delete Zabbix Global macros + name: zabbix_globalmacro + namespace: "" plugins: inventory: - - description: Zabbix Inventory Plugin - name: zabbix_inventory - namespace: null - release_date: '2021-06-29' + - description: Zabbix Inventory Plugin + name: zabbix_inventory + namespace: null + release_date: "2021-06-29" 1.5.0: changes: breaking_changes: - - All Roles now reference other roles and modules via their fully qualified - collection names, which makes Ansible 2.10 minimum supported version for roles - (See https://github.com/ansible-collections/community.zabbix/pull/477). + - All Roles now reference other roles and modules via their fully qualified + collection names, which makes Ansible 2.10 minimum supported version for roles + (See https://github.com/ansible-collections/community.zabbix/pull/477). bugfixes: - - All Roles now support installing zabbix 4.0 version on Ubuntu 20.04. - - All Roles now supports installations on Debian 11. - - zabbix inventory - Change default value for host_zapi_query from list "[]" - to dict "{}". - - zabbix_action - should no longer fail with Zabbix version 5.4. - - zabbix_agent role - `zabbix_win_install_dir` no longer ignored for zabbix_agentd.d - and zabbix log directories. - - zabbix_agent role - auto-recovery for Windows installation has been fixed - (https://github.com/ansible-collections/community.zabbix/pull/470). - - zabbix_agent role - deploying zabbix_agent2 under Windows should now be possible - (Thanks to https://github.com/ansible-collections/community.zabbix/pull/433 - and https://github.com/ansible-collections/community.zabbix/pull/453). - - zabbix_agent role - fixed AutoPSK for Windows deployments (https://github.com/ansible-collections/community.zabbix/pull/450). - - zabbix_host - Fix error when updating hosts caused by Zabbix bug not returning - the inventory_mode field for hosts(https://github.com/ansible-collections/community.zabbix/issues/385). - - zabbix_host - will not break when `tls_psk*` parameters are set with Zabbix - version 5.4. - - zabbix_proxy (module) - now supports configuring `tls_psk*` parameters. - - zabbix_proxy (role) - TLS config should now properly configure certificates. - - zabbix_proxy (role) - should no longer fail on permission problems wren configured - to use SQLite database and now installs correct package sqlite3 on Debian - systems. - - zabbix_web - `zabbix_nginx_vhost_*` parameters are no longer ignored. - - zabbix_web - executing role with `--tags` should now correctly include distribution - specific variables (https://github.com/ansible-collections/community.zabbix/pull/448). - - zabbix_web - now correctly restarts php-fpm service (https://github.com/ansible-collections/community.zabbix/pull/427). - - zabbix_web - permissions for accesing php-fpm socket has been fixed (See https://github.com/ansible-collections/community.zabbix/pull/426). + - All Roles now support installing zabbix 4.0 version on Ubuntu 20.04. + - All Roles now supports installations on Debian 11. + - zabbix inventory - Change default value for host_zapi_query from list "[]" + to dict "{}". + - zabbix_action - should no longer fail with Zabbix version 5.4. + - zabbix_agent role - `zabbix_win_install_dir` no longer ignored for zabbix_agentd.d + and zabbix log directories. + - zabbix_agent role - auto-recovery for Windows installation has been fixed + (https://github.com/ansible-collections/community.zabbix/pull/470). + - zabbix_agent role - deploying zabbix_agent2 under Windows should now be possible + (Thanks to https://github.com/ansible-collections/community.zabbix/pull/433 + and https://github.com/ansible-collections/community.zabbix/pull/453). + - zabbix_agent role - fixed AutoPSK for Windows deployments (https://github.com/ansible-collections/community.zabbix/pull/450). + - zabbix_host - Fix error when updating hosts caused by Zabbix bug not returning + the inventory_mode field for hosts(https://github.com/ansible-collections/community.zabbix/issues/385). + - zabbix_host - will not break when `tls_psk*` parameters are set with Zabbix + version 5.4. + - zabbix_proxy (module) - now supports configuring `tls_psk*` parameters. + - zabbix_proxy (role) - TLS config should now properly configure certificates. + - zabbix_proxy (role) - should no longer fail on permission problems wren configured + to use SQLite database and now installs correct package sqlite3 on Debian + systems. + - zabbix_web - `zabbix_nginx_vhost_*` parameters are no longer ignored. + - zabbix_web - executing role with `--tags` should now correctly include distribution + specific variables (https://github.com/ansible-collections/community.zabbix/pull/448). + - zabbix_web - now correctly restarts php-fpm service (https://github.com/ansible-collections/community.zabbix/pull/427). + - zabbix_web - permissions for accesing php-fpm socket has been fixed (See https://github.com/ansible-collections/community.zabbix/pull/426). minor_changes: - - Added requirements.txt to collection root to be used with Ansible Builder. - See https://ansible-builder.readthedocs.io/en/latest/collection_metadata.html - - some roles are now using new naming for API connection parameters (https://github.com/ansible-collections/community.zabbix/pull/492 - and https://github.com/ansible-collections/community.zabbix/pull/495). - - some roles can now utilize an option `zabbix_repo_yum_gpgcheck` to enable/disable - GPG check for YUM repository (https://github.com/ansible-collections/community.zabbix/pull/438). - - zabbix inventory - Enabled the usage of environment variables in zabbix inventory - plugin. - - zabbix inventory plugin - can now use environment variables ZABBIX_SERVER, - ZABBIX_USERNAME and ZABBIX_PASSWORD for connection purposes to the Zabbix - API. - - zabbix_agent role - `zabbix_agent_loadmodule` can also be configured with - a list. - - zabbix_agent role - new `zabbix_api_timeout` option. - - zabbix_agent role - now supports DenyKeys configuration. - - zabbix_hostmacro - now supports creating macros of type secret and vault. - - zabbix_proxy (role) - new `zabbix_api_timeout` option. - - zabbix_proxy_info - new module that allows to retrieve information about configured - Zabbix Proxies. - - zabbix_server - added support for TimescaleDB (https://github.com/ansible-collections/community.zabbix/pull/428). + - Added requirements.txt to collection root to be used with Ansible Builder. + See https://ansible-builder.readthedocs.io/en/latest/collection_metadata.html + - some roles are now using new naming for API connection parameters (https://github.com/ansible-collections/community.zabbix/pull/492 + and https://github.com/ansible-collections/community.zabbix/pull/495). + - some roles can now utilize an option `zabbix_repo_yum_gpgcheck` to enable/disable + GPG check for YUM repository (https://github.com/ansible-collections/community.zabbix/pull/438). + - zabbix inventory - Enabled the usage of environment variables in zabbix inventory + plugin. + - zabbix inventory plugin - can now use environment variables ZABBIX_SERVER, + ZABBIX_USERNAME and ZABBIX_PASSWORD for connection purposes to the Zabbix + API. + - zabbix_agent role - `zabbix_agent_loadmodule` can also be configured with + a list. + - zabbix_agent role - new `zabbix_api_timeout` option. + - zabbix_agent role - now supports DenyKeys configuration. + - zabbix_hostmacro - now supports creating macros of type secret and vault. + - zabbix_proxy (role) - new `zabbix_api_timeout` option. + - zabbix_proxy_info - new module that allows to retrieve information about configured + Zabbix Proxies. + - zabbix_server - added support for TimescaleDB (https://github.com/ansible-collections/community.zabbix/pull/428). fragments: - - 0-copy_ignore_txt.yml - - 415-inventory_mode-fix.yaml - - 456-zabbix-hostmacro-secret-vault.yml - - 505-awx_compatibility-fixes.yml - - zbx-missing-1.5.0.yml - - zbx-proxy-info.yaml + - 0-copy_ignore_txt.yml + - 415-inventory_mode-fix.yaml + - 456-zabbix-hostmacro-secret-vault.yml + - 505-awx_compatibility-fixes.yml + - zbx-missing-1.5.0.yml + - zbx-proxy-info.yaml modules: - - description: Gather information about Zabbix proxy - name: zabbix_proxy_info - namespace: '' - release_date: '2021-11-02' + - description: Gather information about Zabbix proxy + name: zabbix_proxy_info + namespace: "" + release_date: "2021-11-02" 1.5.1: changes: bugfixes: - - template - use templateid property when linking templates for ``template.create`` - and ``template.update`` API calls. - - zabbix inventory - Moved ZABBIX_VALIDATE_CERTS to correct option, validate_certs. - - zabbix_agent role - Create the actual configuration file for Windows setups. - - zabbix_agent role - Fix typo for correct using the zabbix_windows_service.exists - - zabbix_agent role - tlspsk_auto to support become on Linux and ignore on windows - - zabbix_user - fix zabbix_user require password only on internal. + - template - use templateid property when linking templates for ``template.create`` + and ``template.update`` API calls. + - zabbix inventory - Moved ZABBIX_VALIDATE_CERTS to correct option, validate_certs. + - zabbix_agent role - Create the actual configuration file for Windows setups. + - zabbix_agent role - Fix typo for correct using the zabbix_windows_service.exists + - zabbix_agent role - tlspsk_auto to support become on Linux and ignore on windows + - zabbix_user - fix zabbix_user require password only on internal. minor_changes: - - Enabled usage of environment variables for modules by adding a fallback lookup - in the module_utils/helpers.py - zabbix_common_argument_spec + - Enabled usage of environment variables for modules by adding a fallback lookup + in the module_utils/helpers.py - zabbix_common_argument_spec fragments: - - 508-zabbix-env-vars.yml - - 512-inventory-bugfix.yaml - - 521-agent-typo.yaml - - 523-templateid-property.yml - - 527-agent-windows-config-creation.yaml - - 537-TLSPSK.yaml - - 543-internal-user.yaml - release_date: '2021-12-05' + - 508-zabbix-env-vars.yml + - 512-inventory-bugfix.yaml + - 521-agent-typo.yaml + - 523-templateid-property.yml + - 527-agent-windows-config-creation.yaml + - 537-TLSPSK.yaml + - 543-internal-user.yaml + release_date: "2021-12-05" 1.6.0: changes: bugfixes: - - 'Various modules and plugins - use vendored version of ``distutils.version`` - instead of the deprecated Python standard library ``distutils`` (https://github.com/ansible-collections/community.zabbix/pull/603). - This superseedes #597.' - - ZapiWrapper (module_utils) - fix only partial zabbix version is returned. - - zabbix_agent role - Install Zabbix packages when zabbix_repo == other is used - with yum. - - zabbix_agent role - Install the Agent for MacOSX sooner than its configuration. - - zabbix_agent role - The ``Install gpg key`` task for Debian did not work when - a http proxy is configured. - - zabbix_agent role - Use the correct URL with correct version. - - zabbix_agent role - Use the correct path to determine Zabbix Agent 2 installation - on Windows. - - zabbix_agent role - Using the correct hostgroup as default now. - - zabbix_agent role - fix for the autopsk, incl. tests with Molecule. - - zabbix_host - Added small notification that an user should have read access - to get hostgroups overview. - - zabbix_host - adapter changed properties for interface comparisson - - zabbix_maintenance - should now work when creating maintenace on Zabbix 6.0 - server - - zabbix_proxy - 'zcat' the zipped sql files to /tmp before executing it. - - zabbix_proxy - Check MySQL version before settings mysql_innodb_default_row_format - value. - - zabbix_proxy - Install Zabbix packages when zabbix_repo == other is used with - yum. - - zabbix_server - 'zcat' the zipped sql files to /tmp before executing it. - - zabbix_server - Check MySQL version before settings mysql_innodb_default_row_format - value. - - zabbix_server - Install Zabbix packages when zabbix_repo == other is used - with yum. - - zabbix_template - setting correct null values to fix unintentional changes - - zabbix_web - Added some default variables if the geerlingguys apache role - is not used. - - zabbix_web - Specified the correct versions for php. + - "Various modules and plugins - use vendored version of ``distutils.version`` + instead of the deprecated Python standard library ``distutils`` (https://github.com/ansible-collections/community.zabbix/pull/603). + This superseedes #597." + - ZapiWrapper (module_utils) - fix only partial zabbix version is returned. + - zabbix_agent role - Install Zabbix packages when zabbix_repo == other is used + with yum. + - zabbix_agent role - Install the Agent for MacOSX sooner than its configuration. + - zabbix_agent role - The ``Install gpg key`` task for Debian did not work when + a http proxy is configured. + - zabbix_agent role - Use the correct URL with correct version. + - zabbix_agent role - Use the correct path to determine Zabbix Agent 2 installation + on Windows. + - zabbix_agent role - Using the correct hostgroup as default now. + - zabbix_agent role - fix for the autopsk, incl. tests with Molecule. + - zabbix_host - Added small notification that an user should have read access + to get hostgroups overview. + - zabbix_host - adapter changed properties for interface comparisson + - zabbix_maintenance - should now work when creating maintenace on Zabbix 6.0 + server + - zabbix_proxy - 'zcat' the zipped sql files to /tmp before executing it. + - zabbix_proxy - Check MySQL version before settings mysql_innodb_default_row_format + value. + - zabbix_proxy - Install Zabbix packages when zabbix_repo == other is used with + yum. + - zabbix_server - 'zcat' the zipped sql files to /tmp before executing it. + - zabbix_server - Check MySQL version before settings mysql_innodb_default_row_format + value. + - zabbix_server - Install Zabbix packages when zabbix_repo == other is used + with yum. + - zabbix_template - setting correct null values to fix unintentional changes + - zabbix_web - Added some default variables if the geerlingguys apache role + is not used. + - zabbix_web - Specified the correct versions for php. minor_changes: - - all modules - prepare for deprecation of distutils LooseVersion. - - collection - Add dependencies to other collections. This helps Ansible Galaxy - automatically downloading collections that this collection relies on to run. - - connection.httpapi (plugin) - add initial httpapi connection plugin. - - httpapi.jsonrpc (plugin) - add initial httpapi for future handling of json-rpc. - - new module zabbix authentication for configuring global authentication settings - in Zabbix Server's Settings section of GUI. - - new module zabbix_autoregister for configuring global autoregistration settings - in Zabbix Server's Settings section of GUI. - - new module zabbix_housekeeping for configuring global housekeeping settings - in Zabbix Server's Settings section of GUI. - - test_zabbix_host_info - fix Template/Group names for 5.4 - - test_zabbix_screen - disable testing for screen in 5.4 (deprecated) - - zabbix_action - additional fixes to make module work with Zabbix 6.0 (https://github.com/ansible-collections/community.zabbix/pull/664) - - zabbix_action - module ported to work with Zabbix 6.0 (https://github.com/ansible-collections/community.zabbix/pull/648, - https://github.com/ansible-collections/community.zabbix/pull/653) - - zabbix_action - should now correctly actions with maintenance_status conditions - (https://github.com/ansible-collections/community.zabbix/pull/667) - - zabbix_agent role - Check if 'firewalld' exist and is running when handler - is executed. - - zabbix_agent role - Fixed use of bare variables in conditions (https://github.com/ansible-collections/community.zabbix/pull/663) - - zabbix_agent role - Install the correct Python libxml2 package on SLES15 - - zabbix_agent role - Move inclusion of the apache.yml tasks to later stage - during execution of role. - - zabbix_agent role - Prepare for Zabbix 6.0. - - zabbix_agent role - Specify a minor version with zabbix_agent_version_minor - for RH systems. - - zabbix_agent role - There was no way to configure a specific type for the - macro. - - zabbix_agent role - Use multiple aliases in the configuration file with ``zabbix_agent_zabbix_alias`` - or ``zabbix_agent2_zabbix_alias``. - - zabbix_maintenance - added new module parameter `tags`, which allows configuring - Problem Tags on maintenances. - - zabbix_maintenance - fixed to work with Zabbix 6.0+ and Python 3.9+ (https://github.com/ansible-collections/community.zabbix/pull/665) - - zabbix_proxy - Prepare for Zabbix 6.0. - - zabbix_proxy - Specify a minor version with zabbix_proxy_version_minor for - RH systems. - - zabbix_proxy - Support for Sangoma and treat it like a RHEL system. - - zabbix_server - Check the 'zabbix_server_install_database_client' variable - in RedHat tasks. - - zabbix_server - Prepare for Zabbix 6.0. - - zabbix_server - Specify a minor version with zabbix_server_version_minor for - RH systems. - - zabbix_user - change alias property to username (changed in 5.4) (alias is - now an alias for username) - - zabbix_user_info - change alias property to username (changed in 5.4) (alias - is now an alias for username) - - zabbix_web - Change format ENCRYPTION, VERIFY_HOST from string to boolean. - - zabbix_web - Specify a minor version with zabbix_web_version_minor for RH - systems. + - all modules - prepare for deprecation of distutils LooseVersion. + - collection - Add dependencies to other collections. This helps Ansible Galaxy + automatically downloading collections that this collection relies on to run. + - connection.httpapi (plugin) - add initial httpapi connection plugin. + - httpapi.jsonrpc (plugin) - add initial httpapi for future handling of json-rpc. + - new module zabbix authentication for configuring global authentication settings + in Zabbix Server's Settings section of GUI. + - new module zabbix_autoregister for configuring global autoregistration settings + in Zabbix Server's Settings section of GUI. + - new module zabbix_housekeeping for configuring global housekeeping settings + in Zabbix Server's Settings section of GUI. + - test_zabbix_host_info - fix Template/Group names for 5.4 + - test_zabbix_screen - disable testing for screen in 5.4 (deprecated) + - zabbix_action - additional fixes to make module work with Zabbix 6.0 (https://github.com/ansible-collections/community.zabbix/pull/664) + - zabbix_action - module ported to work with Zabbix 6.0 (https://github.com/ansible-collections/community.zabbix/pull/648, + https://github.com/ansible-collections/community.zabbix/pull/653) + - zabbix_action - should now correctly actions with maintenance_status conditions + (https://github.com/ansible-collections/community.zabbix/pull/667) + - zabbix_agent role - Check if 'firewalld' exist and is running when handler + is executed. + - zabbix_agent role - Fixed use of bare variables in conditions (https://github.com/ansible-collections/community.zabbix/pull/663) + - zabbix_agent role - Install the correct Python libxml2 package on SLES15 + - zabbix_agent role - Move inclusion of the apache.yml tasks to later stage + during execution of role. + - zabbix_agent role - Prepare for Zabbix 6.0. + - zabbix_agent role - Specify a minor version with zabbix_agent_version_minor + for RH systems. + - zabbix_agent role - There was no way to configure a specific type for the + macro. + - zabbix_agent role - Use multiple aliases in the configuration file with ``zabbix_agent_zabbix_alias`` + or ``zabbix_agent2_zabbix_alias``. + - zabbix_maintenance - added new module parameter `tags`, which allows configuring + Problem Tags on maintenances. + - zabbix_maintenance - fixed to work with Zabbix 6.0+ and Python 3.9+ (https://github.com/ansible-collections/community.zabbix/pull/665) + - zabbix_proxy - Prepare for Zabbix 6.0. + - zabbix_proxy - Specify a minor version with zabbix_proxy_version_minor for + RH systems. + - zabbix_proxy - Support for Sangoma and treat it like a RHEL system. + - zabbix_server - Check the 'zabbix_server_install_database_client' variable + in RedHat tasks. + - zabbix_server - Prepare for Zabbix 6.0. + - zabbix_server - Specify a minor version with zabbix_server_version_minor for + RH systems. + - zabbix_user - change alias property to username (changed in 5.4) (alias is + now an alias for username) + - zabbix_user_info - change alias property to username (changed in 5.4) (alias + is now an alias for username) + - zabbix_web - Change format ENCRYPTION, VERIFY_HOST from string to boolean. + - zabbix_web - Specify a minor version with zabbix_web_version_minor for RH + systems. fragments: - - 144-check-if-service-is-running.yml - - 329-only-do-apache-stuff.yml - - 356-zbx-maint-tags.yml - - 360-fix-macos-install.yml - - 367-add-dependencies.yml - - 414-specify-minor-version.yml - - 444-add-initial-httpapi.yml - - 560-prepare-zabbix-60-roles.yml - - 570-fix-autopsk.yml - - 574-fix-windows-url.yml - - 583-change-var-type.yml - - 587-host-cannot-have-same-type.yml - - 588-template-not-found.yml - - 589-failed-to-get-screen.yml - - 591-invalid-parameter.yml - - 592-has-no-attribute.yml - - 597-prepare-distutils.yml - - 599-multiple-aliases.yml - - 603-vendor-distutils.yml - - 612-use-correct-value.yml - - 620-add-macro-type.yml - - 622-fix-environmentsettings.yml - - 630-zabbix-autoreg.yml - - 638-sangoma-rhel.yml - - 645-zabbix-authentication.yml - - 647-zabbix-housekeeping.yml - - 648-653-zbx_action.yaml - - 654-check-zabbix_server_install_database_client-rhel.yml - - 664-zbx_action.yaml - - 665-zbx_maint.yaml - - 668-zabbix_agent-sles15.yml - - various-wd.yml + - 144-check-if-service-is-running.yml + - 329-only-do-apache-stuff.yml + - 356-zbx-maint-tags.yml + - 360-fix-macos-install.yml + - 367-add-dependencies.yml + - 414-specify-minor-version.yml + - 444-add-initial-httpapi.yml + - 560-prepare-zabbix-60-roles.yml + - 570-fix-autopsk.yml + - 574-fix-windows-url.yml + - 583-change-var-type.yml + - 587-host-cannot-have-same-type.yml + - 588-template-not-found.yml + - 589-failed-to-get-screen.yml + - 591-invalid-parameter.yml + - 592-has-no-attribute.yml + - 597-prepare-distutils.yml + - 599-multiple-aliases.yml + - 603-vendor-distutils.yml + - 612-use-correct-value.yml + - 620-add-macro-type.yml + - 622-fix-environmentsettings.yml + - 630-zabbix-autoreg.yml + - 638-sangoma-rhel.yml + - 645-zabbix-authentication.yml + - 647-zabbix-housekeeping.yml + - 648-653-zbx_action.yaml + - 654-check-zabbix_server_install_database_client-rhel.yml + - 664-zbx_action.yaml + - 665-zbx_maint.yaml + - 668-zabbix_agent-sles15.yml + - various-wd.yml modules: - - description: Update Zabbix authentication - name: zabbix_authentication - namespace: '' - - description: Update Zabbix autoregistration - name: zabbix_autoregister - namespace: '' - - description: Update Zabbix housekeeping - name: zabbix_housekeeping - namespace: '' + - description: Update Zabbix authentication + name: zabbix_authentication + namespace: "" + - description: Update Zabbix autoregistration + name: zabbix_autoregister + namespace: "" + - description: Update Zabbix housekeeping + name: zabbix_housekeeping + namespace: "" plugins: connection: - - description: Use httpapi to run command on network appliances - name: httpapi - namespace: null + - description: Use httpapi to run command on network appliances + name: httpapi + namespace: null httpapi: - - description: HttpApi Plugin for Zabbix - name: jsonrpc - namespace: null - release_date: '2022-03-21' + - description: HttpApi Plugin for Zabbix + name: jsonrpc + namespace: null + release_date: "2022-03-21" 1.7.0: changes: bugfixes: - - Include ``PSF-license.txt`` file for ``plugins/module_utils/_version.py``. - - zabbix_action - will no longer wipe `esc_step_to` and `esc_step_from` (https://github.com/ansible-collections/community.zabbix/issues/692) - - zabbix_agent role - added support for zabbix-agent on Ubuntu 22.04 (https://github.com/ansible-collections/community.zabbix/pull/681) - - zabbix_agent role - now properly creates webroot for issuing LE certificates - (https://github.com/ansible-collections/community.zabbix/pull/677, https://github.com/ansible-collections/community.zabbix/pull/682) - - zabbix_proxy (module) - passive proxy should be now correctly created in Zabbix - 6.0 (https://github.com/ansible-collections/community.zabbix/pull/697) - - zabbix_proxy (role) - fixed accidental regression of TLS psk file being generated - for passive agent (#528) caused in (#663) (https://github.com/ansible-collections/community.zabbix/issues/680) + - Include ``PSF-license.txt`` file for ``plugins/module_utils/_version.py``. + - zabbix_action - will no longer wipe `esc_step_to` and `esc_step_from` (https://github.com/ansible-collections/community.zabbix/issues/692) + - zabbix_agent role - added support for zabbix-agent on Ubuntu 22.04 (https://github.com/ansible-collections/community.zabbix/pull/681) + - zabbix_agent role - now properly creates webroot for issuing LE certificates + (https://github.com/ansible-collections/community.zabbix/pull/677, https://github.com/ansible-collections/community.zabbix/pull/682) + - zabbix_proxy (module) - passive proxy should be now correctly created in Zabbix + 6.0 (https://github.com/ansible-collections/community.zabbix/pull/697) + - zabbix_proxy (role) - fixed accidental regression of TLS psk file being generated + for passive agent (#528) caused in (#663) (https://github.com/ansible-collections/community.zabbix/issues/680) minor_changes: - - helpers.helper_compare_lists() changed logic to not consider the order of - elements in lists. (https://github.com/ansible-collections/community.zabbix/pull/683) - - zabbix_action, zabbix_maintenance, zabbix_mediatype, zabbix_proxy, zabbix_service - - updated to work with Zabbix 6.0. (https://github.com/ansible-collections/community.zabbix/pull/683) - - zabbix_script module added (https://github.com/ansible-collections/community.zabbix/issues/634) + - helpers.helper_compare_lists() changed logic to not consider the order of + elements in lists. (https://github.com/ansible-collections/community.zabbix/pull/683) + - zabbix_action, zabbix_maintenance, zabbix_mediatype, zabbix_proxy, zabbix_service + - updated to work with Zabbix 6.0. (https://github.com/ansible-collections/community.zabbix/pull/683) + - zabbix_script module added (https://github.com/ansible-collections/community.zabbix/issues/634) fragments: - - 1.7.0-missing-fragments.yml - - 683-zbx60.yml - - 685-zabbix-script.yml - - 699-proxy-role-regression.yml - - psf-license.yml + - 1.7.0-missing-fragments.yml + - 683-zbx60.yml + - 685-zabbix-script.yml + - 699-proxy-role-regression.yml + - psf-license.yml modules: - - description: Create/update/delete Zabbix scripts - name: zabbix_script - namespace: '' - release_date: '2022-05-24' + - description: Create/update/delete Zabbix scripts + name: zabbix_script + namespace: "" + release_date: "2022-05-24" 1.8.0: changes: bugfixes: - - zabbix_host - fixed idempotency of the module when hostmacros or snmp interfaces - are used - - zabbix_script - fix compatibility with Zabbix <5.4. - - zabbix_script - should no longer fail when description is not set + - zabbix_host - fixed idempotency of the module when hostmacros or snmp interfaces + are used + - zabbix_script - fix compatibility with Zabbix <5.4. + - zabbix_script - should no longer fail when description is not set minor_changes: - - roles - Minimized the config templates for the zabbix_agent, zabbix_javagateway, - zabbix_proxy, and zabbix_server roles to make them version independent. - - roles - Support for Zabbix 6.2 has been added - - roles - Updated the version defaults to select the latest version supported - by an operating system. - - zabbix_action - added another condition operator naming options (contains, - does not contain,...) - - zabbix_agent role - Set a ansible_python_interpreter to localhost based on - the env the playbook is executed from. - - zabbix_agent role - add option to set host tags using ``zabbix_agent_tags``. - - zabbix_agent role - add possiblity to set include file pattern using ``zabbix_agent(2)_include_pattern`` - variable. - - zabbix_agent role - is now able to manage directories and upload files for - TLS PSK configuration used with Windows operating systems - - zabbix_agent role - new options for Windows installations zabbix_win_install_dir_conf/bin - - zabbix_agent role - when configuring firewalld, make sure the new rule is - applied immediately - - zabbix_authentication - module updated to support Zabbix 6.2 - - zabbix_host - using ``tls_psk_identity`` or ``tls_psk`` parameters with Zabbix - >= 5.4 makes this module non-idempotent - - zabbix_host - will no longer wipe tls_connect en tls_accept settings when - not specified on update - - zabbix_mediatype - added support for time units in ``attempt_interval`` parameter - - zabbix_template - added support for template groups (Zabbix >= 6.2) - - zabbix_template_info - add template_id return value - - zabbix_template_info - add yaml and none formats - - zabbix_user_directory - added new module to support multiple sources for LDAP - authentication + - roles - Minimized the config templates for the zabbix_agent, zabbix_javagateway, + zabbix_proxy, and zabbix_server roles to make them version independent. + - roles - Support for Zabbix 6.2 has been added + - roles - Updated the version defaults to select the latest version supported + by an operating system. + - zabbix_action - added another condition operator naming options (contains, + does not contain,...) + - zabbix_agent role - Set a ansible_python_interpreter to localhost based on + the env the playbook is executed from. + - zabbix_agent role - add option to set host tags using ``zabbix_agent_tags``. + - zabbix_agent role - add possiblity to set include file pattern using ``zabbix_agent(2)_include_pattern`` + variable. + - zabbix_agent role - is now able to manage directories and upload files for + TLS PSK configuration used with Windows operating systems + - zabbix_agent role - new options for Windows installations zabbix_win_install_dir_conf/bin + - zabbix_agent role - when configuring firewalld, make sure the new rule is + applied immediately + - zabbix_authentication - module updated to support Zabbix 6.2 + - zabbix_host - using ``tls_psk_identity`` or ``tls_psk`` parameters with Zabbix + >= 5.4 makes this module non-idempotent + - zabbix_host - will no longer wipe tls_connect en tls_accept settings when + not specified on update + - zabbix_mediatype - added support for time units in ``attempt_interval`` parameter + - zabbix_template - added support for template groups (Zabbix >= 6.2) + - zabbix_template_info - add template_id return value + - zabbix_template_info - add yaml and none formats + - zabbix_user_directory - added new module to support multiple sources for LDAP + authentication fragments: - - 602-change-intrepeter.yml - - 711-minimize-role-config-templates.yml - - 727-script-compatibility.yml - - 731-template-info-formats.yml - - 738-template-groups.yml - - 741-host-tls-psk-fix.yml - - 743-agent-tags.yml - - 744-mediatype-attemptinterval-timeunits.yml - - 749-action-operator-naming.yml - - 753-host-tls-settings.yml - - 755-user-directory-module.yml - - 770-agent-include-pattern.yml - - 771-auto-select-version.yml - - firewalld_immediate.yaml - - missing.yml - release_date: '2022-08-15' + - 602-change-intrepeter.yml + - 711-minimize-role-config-templates.yml + - 727-script-compatibility.yml + - 731-template-info-formats.yml + - 738-template-groups.yml + - 741-host-tls-psk-fix.yml + - 743-agent-tags.yml + - 744-mediatype-attemptinterval-timeunits.yml + - 749-action-operator-naming.yml + - 753-host-tls-settings.yml + - 755-user-directory-module.yml + - 770-agent-include-pattern.yml + - 771-auto-select-version.yml + - firewalld_immediate.yaml + - missing.yml + release_date: "2022-08-15" 1.9.0: changes: bugfixes: - - The inventory script had insufficient error handling in case the Zabbix API - provided an empty interfaces list. This bugfix checks for an exisiting interfaces - element, then for the minimal length of 1 so that the first interface will - only be accessed when it really exists in the api response. (https://github.com/ansible-collections/community.zabbix/issues/826) - - zabbix-proxy - updated to install correct sources for Debian arm64 family - - zabbix_agent role - Filter IPv6 addresses from list of IP as Zabbix host creation - expects IPv4 - - zabbix_agent role - installation on Windows will no longer fail when zabbix_agent2 - is used - - zabbix_host - fix updating of host without interfaces - - zabbix_proxy - correctly provision tls_accept and tls_connect on Zabbix backend - - zabbix_proxy - updated the datafiles_path fact for the zabbix_proxy and zabbix_server - roles due to upstream change - - zabbix_server - move location of the fping(6) variables to distribution specific - files (https://github.com/ansible-collections/community.zabbix/issues/812) - - zabbix_server - updated the datafiles_path fact for the zabbix_proxy and zabbix_server - roles due to upstream change + - The inventory script had insufficient error handling in case the Zabbix API + provided an empty interfaces list. This bugfix checks for an exisiting interfaces + element, then for the minimal length of 1 so that the first interface will + only be accessed when it really exists in the api response. (https://github.com/ansible-collections/community.zabbix/issues/826) + - zabbix-proxy - updated to install correct sources for Debian arm64 family + - zabbix_agent role - Filter IPv6 addresses from list of IP as Zabbix host creation + expects IPv4 + - zabbix_agent role - installation on Windows will no longer fail when zabbix_agent2 + is used + - zabbix_host - fix updating of host without interfaces + - zabbix_proxy - correctly provision tls_accept and tls_connect on Zabbix backend + - zabbix_proxy - updated the datafiles_path fact for the zabbix_proxy and zabbix_server + roles due to upstream change + - zabbix_server - move location of the fping(6) variables to distribution specific + files (https://github.com/ansible-collections/community.zabbix/issues/812) + - zabbix_server - updated the datafiles_path fact for the zabbix_proxy and zabbix_server + roles due to upstream change major_changes: - - all modules are opting away from zabbix-api and using httpapi ansible.netcommon - plugin. We will support zabbix-api for backwards compatibility until next - major release. See our README.md for more information about how to migrate - - zabbix_agent and zabbix_proxy roles are opting away from zabbix-api and use - httpapi ansible.netcommon plugin. We will support zabbix-api for backwards - compatibility until next major release. See our README.md for more information - about how to migrate + - all modules are opting away from zabbix-api and using httpapi ansible.netcommon + plugin. We will support zabbix-api for backwards compatibility until next + major release. See our README.md for more information about how to migrate + - zabbix_agent and zabbix_proxy roles are opting away from zabbix-api and use + httpapi ansible.netcommon plugin. We will support zabbix-api for backwards + compatibility until next major release. See our README.md for more information + about how to migrate minor_changes: - - ansible_zabbix_url_path introduced to be able to specify non-default Zabbix - WebUI path, e.g. http:///zabbixeu - - collection now supports creating ``module_defaults`` for ``group/community.zabbix.zabbix`` - (see https://github.com/ansible-collections/community.zabbix/issues/326) - - fixed ``zabbix_server`` role failure running in check_mode (see https://github.com/ansible-collections/community.zabbix/issues/804) - - zabbix_agent role - give Zabbix Agent access to the Linux DMI table allowing - system.hw.chassis info to populate. - - zabbix_template - add support for template tags - - zabbix_user_role module added - - zabbix_web - add support for Ubuntu 22.04 jammy + - ansible_zabbix_url_path introduced to be able to specify non-default Zabbix + WebUI path, e.g. http:///zabbixeu + - collection now supports creating ``module_defaults`` for ``group/community.zabbix.zabbix`` + (see https://github.com/ansible-collections/community.zabbix/issues/326) + - fixed ``zabbix_server`` role failure running in check_mode (see https://github.com/ansible-collections/community.zabbix/issues/804) + - zabbix_agent role - give Zabbix Agent access to the Linux DMI table allowing + system.hw.chassis info to populate. + - zabbix_template - add support for template tags + - zabbix_user_role module added + - zabbix_web - add support for Ubuntu 22.04 jammy fragments: - - 326-module_defaults-group.yml - - 526-swap-tls-accept-connect-in-proxy.yaml - - 778-zbx-agent2-win.yml - - 784-allow-system.hw.chassis-to-populate-on-linux.yml - - 786-web-add-ubuntu-22-04-support.yml - - 792-update-host-without-iface-fix.yml - - 795-zbx-agent-win-ipv6.yml - - 800-add-template-tags.yml - - 806-httpapi-connection-plugin.yml - - 812-fping-binary-location.yml - - 813-sql-scripts-moved-to-usr-share.yml - - 821-zabbix-proxy-debian-arm64.yml - - 822-roles-to-httpapi.yml - - 823-zabbix_server-role-in-check-mode.yml - - 827-fixing-bug-for-empty-interfaces-list.yml - - module_zabbix-user-role.yml - - modules-url-path.yml - release_date: '2022-11-07' + - 326-module_defaults-group.yml + - 526-swap-tls-accept-connect-in-proxy.yaml + - 778-zbx-agent2-win.yml + - 784-allow-system.hw.chassis-to-populate-on-linux.yml + - 786-web-add-ubuntu-22-04-support.yml + - 792-update-host-without-iface-fix.yml + - 795-zbx-agent-win-ipv6.yml + - 800-add-template-tags.yml + - 806-httpapi-connection-plugin.yml + - 812-fping-binary-location.yml + - 813-sql-scripts-moved-to-usr-share.yml + - 821-zabbix-proxy-debian-arm64.yml + - 822-roles-to-httpapi.yml + - 823-zabbix_server-role-in-check-mode.yml + - 827-fixing-bug-for-empty-interfaces-list.yml + - module_zabbix-user-role.yml + - modules-url-path.yml + release_date: "2022-11-07" 1.9.1: changes: bugfixes: - - All Roles and modules integration tests - replace deprecated include module - whith include_tasks - - all modules - remove deprecation warnings for modules parameters related to - zabbix-api when these parapmeters are not explicetely defined - - zabbix_agent, zabbix_proxy roles, all modules - make httpapi connection work - with HTTP Basic Authorization - - zabbix_proxy - do not set ServerPort config parameter which was removed in - Zabbix 6.0 - - 'zabbix_server role Debian.yml task - remove warn: arg for shell module as - the arg is deprecated since ansible-core above 2.13' - - zabbix_user_role module - creation of a User Role with Super Admin type + - All Roles and modules integration tests - replace deprecated include module + whith include_tasks + - all modules - remove deprecation warnings for modules parameters related to + zabbix-api when these parapmeters are not explicetely defined + - zabbix_agent, zabbix_proxy roles, all modules - make httpapi connection work + with HTTP Basic Authorization + - zabbix_proxy - do not set ServerPort config parameter which was removed in + Zabbix 6.0 + - "zabbix_server role Debian.yml task - remove warn: arg for shell module as + the arg is deprecated since ansible-core above 2.13" + - zabbix_user_role module - creation of a User Role with Super Admin type minor_changes: - - zabbix suport for rhel 9 + - zabbix suport for rhel 9 fragments: - - 845-rhel-9-support.yml - - 850-proxy-serverport.yml - - 857-deprecation-warnings.yml - - 859-remove-warn-arg.yml - - 866-user-role-superadmin.yml - - 868-include-to-include-tasks.yml - - fix-httpapi-http-auth.yml - release_date: '2023-01-09' + - 845-rhel-9-support.yml + - 850-proxy-serverport.yml + - 857-deprecation-warnings.yml + - 859-remove-warn-arg.yml + - 866-user-role-superadmin.yml + - 868-include-to-include-tasks.yml + - fix-httpapi-http-auth.yml + release_date: "2023-01-09" 1.9.2: changes: bugfixes: - - zabbix_agent and zabbix_proxy roles - fixed a bug whith ansible_python_interpreter - not being set correctly in some corner cases - - zabbix_agent role - Fix MacOS install never executed because of the missing - include_tasks "Darwin.yml" in the "main.yml" task file and wrong user permission - on folder/files. - - zabbix_agent, zabbix_proxy and zabbix_server roles - make Ansible 2.14 compatible - by removing warn parameter + - zabbix_agent and zabbix_proxy roles - fixed a bug whith ansible_python_interpreter + not being set correctly in some corner cases + - zabbix_agent role - Fix MacOS install never executed because of the missing + include_tasks "Darwin.yml" in the "main.yml" task file and wrong user permission + on folder/files. + - zabbix_agent, zabbix_proxy and zabbix_server roles - make Ansible 2.14 compatible + by removing warn parameter fragments: - - 897.yml - - missing.yml - release_date: '2023-02-11' + - 897.yml + - missing.yml + release_date: "2023-02-11" 1.9.3: changes: bugfixes: - - compatibility with ansible.netcommon 5.0.0 - - treat sendto parameter in module zabbix_user according to real media type, - do not rely on media name - - zabbix-proxy role - fix tags for postgresql task. - - zabbix_agent role - Fix MacOS install never executed because of the missing - include_tasks "Darwin.yml" in the "main.yml" task file and wrong user permission - on folder/files. - - zabbix_user module - ability to specify several e-mail addresses in Zabbix - User's media + - compatibility with ansible.netcommon 5.0.0 + - treat sendto parameter in module zabbix_user according to real media type, + do not rely on media name + - zabbix-proxy role - fix tags for postgresql task. + - zabbix_agent role - Fix MacOS install never executed because of the missing + include_tasks "Darwin.yml" in the "main.yml" task file and wrong user permission + on folder/files. + - zabbix_user module - ability to specify several e-mail addresses in Zabbix + User's media minor_changes: - - httpapi plugin - updated to work with Zabbix 6.4. - - zabbix_action, zabbix_authentication, zabbix_discovery_rule, zabbix_mediatype, - zabbix_user, zabbix_user_directory, zabbix_usergroup - updated to work with - Zabbix 6.4. - - zabbix_agent role - Add support for SUSE Linux Enterprise Server for SAP Applications - ("SLES_SAP"). - - zabbix_host - add missing variants for SNMPv3 authprotocol and privprotocol - introduced by Zabbix 6 - - zabbix_proxy role - Add variable zabbix_proxy_dbpassword_hash_method to control - whether you want postgresql user password to be hashed with md5 or want to - use db default. When zabbix_proxy_dbpassword_hash_method is set to anything - other than md5 then do not hash the password with md5 so you could use postgresql - scram-sha-256 hashing method. - - zabbix_server role - Add variable zabbix_server_dbpassword_hash_method to - control whether you want postgresql user password to be hashed with md5 or - want to use db default. When zabbix_server_dbpassword_hash_method is set to - anything other than md5 then do not hash the password with md5 so you could - use postgresql scram-sha-256 hashing method. - - zabbix_usergroup module - userdirectory, hostgroup_rights and templategroup_rights - parameters added (Zabbix >= 6.2) - - zabbix_web role - possibility to add custom includes in apache vhost config + - httpapi plugin - updated to work with Zabbix 6.4. + - zabbix_action, zabbix_authentication, zabbix_discovery_rule, zabbix_mediatype, + zabbix_user, zabbix_user_directory, zabbix_usergroup - updated to work with + Zabbix 6.4. + - zabbix_agent role - Add support for SUSE Linux Enterprise Server for SAP Applications + ("SLES_SAP"). + - zabbix_host - add missing variants for SNMPv3 authprotocol and privprotocol + introduced by Zabbix 6 + - zabbix_proxy role - Add variable zabbix_proxy_dbpassword_hash_method to control + whether you want postgresql user password to be hashed with md5 or want to + use db default. When zabbix_proxy_dbpassword_hash_method is set to anything + other than md5 then do not hash the password with md5 so you could use postgresql + scram-sha-256 hashing method. + - zabbix_server role - Add variable zabbix_server_dbpassword_hash_method to + control whether you want postgresql user password to be hashed with md5 or + want to use db default. When zabbix_server_dbpassword_hash_method is set to + anything other than md5 then do not hash the password with md5 so you could + use postgresql scram-sha-256 hashing method. + - zabbix_usergroup module - userdirectory, hostgroup_rights and templategroup_rights + parameters added (Zabbix >= 6.2) + - zabbix_web role - possibility to add custom includes in apache vhost config fragments: - - 871.yml - - 880.yml - - 886.yml - - 890.yml - - 897.yml - - 899.yml - - 910-postgres-proxy.yml - - 935-custom-includes-apache.yml - - netcommon50-fix.yaml - - zabbix64.yml - - zabbix_user_media_mailto.yml - - zabbix_user_sendto.yaml - release_date: '2023-04-03' + - 871.yml + - 880.yml + - 886.yml + - 890.yml + - 897.yml + - 899.yml + - 910-postgres-proxy.yml + - 935-custom-includes-apache.yml + - netcommon50-fix.yaml + - zabbix64.yml + - zabbix_user_media_mailto.yml + - zabbix_user_sendto.yaml + release_date: "2023-04-03" 2.0.0: changes: breaking_changes: - - All Roles - removed support for the zabbix_version variable. - - All Roles - removed support for all versions of Zabbix < 6.0. - - All Roles - removed support for installation from epel and non-standard repositories - - all modules - dropped support of Zabbix versions < 6.0 - - dropped support of zabbix-api to make REST API calls to Zabbix - - proxy role - removed support for zabbix_database_creation and replaced it - with zabbix_proxy_database_creation - - proxy role - removed support for zabbix_database_sqlload and replaced it - with zabbix_proxy_database_sqlload - - proxy role - removed support for zabbix_selinux and replaced it with zabbix_proxy_selinux - - server role - removed support for zabbix_server_mysql_login_password and replaced - with zabbix_server_dbpassword - - server role - removed support for zabbix_server_mysql_login_user and replaced - with zabbix_server_dbuser - - stopped supporting Ansible < 2.12 - - stopped supporting Python < 3.9 - - zabbix_action - message parameter renamed to op_message - - zabbix_agent role - removed support for Darwin, Amazon, Fedora, XCP-ng, Suse, - Mint, and Sangoma operating systems - - zabbix_agent role - removed support for zabbix_create_host and replaced it - with zabbix_agent_host_state - - zabbix_agent role - removed support for zabbix_create_hostgroup and replaced - it with zabbix_agent_hostgroups_state - - zabbix_agent role - removed support for zabbix_http_password, zabbix_api_http_password, - zabbix_api_pass, and zabbix_api_login_pass and replaced it with zabbix_api_login_pass - - zabbix_agent role - removed support for zabbix_http_user, zabbix_api_http_user, - zabbix_api_user, and zabbix_api_login_user and replaced it with zabbix_api_login_user - - zabbix_agent role - removed support for zabbix_inventory_mode and replaced - it with zabbix_agent_inventory_mode - - zabbix_agent role - removed support for zabbix_link_templates adn replaced - it with zabbix_agent_link_templates - - zabbix_agent role - removed support for zabbix_macros and replaced it with - zabbix_agent_macros - - zabbix_agent role - removed support for zabbix_proxy and replaced it with - zabbix_agent_proxy - - zabbix_agent role - removed support for zabbix_update_host and replaced it - with zabbix_agent_host_update - - zabbix_group_facts module - removed in favour of zabbix_group_info - - zabbix_host_facts module - removed in favour of zabbix_host_info + - All Roles - removed support for the zabbix_version variable. + - All Roles - removed support for all versions of Zabbix < 6.0. + - All Roles - removed support for installation from epel and non-standard repositories + - all modules - dropped support of Zabbix versions < 6.0 + - dropped support of zabbix-api to make REST API calls to Zabbix + - proxy role - removed support for zabbix_database_creation and replaced it + with zabbix_proxy_database_creation + - proxy role - removed support for zabbix_database_sqlload and replaced it + with zabbix_proxy_database_sqlload + - proxy role - removed support for zabbix_selinux and replaced it with zabbix_proxy_selinux + - server role - removed support for zabbix_server_mysql_login_password and replaced + with zabbix_server_dbpassword + - server role - removed support for zabbix_server_mysql_login_user and replaced + with zabbix_server_dbuser + - stopped supporting Ansible < 2.12 + - stopped supporting Python < 3.9 + - zabbix_action - message parameter renamed to op_message + - zabbix_agent role - removed support for Darwin, Amazon, Fedora, XCP-ng, Suse, + Mint, and Sangoma operating systems + - zabbix_agent role - removed support for zabbix_create_host and replaced it + with zabbix_agent_host_state + - zabbix_agent role - removed support for zabbix_create_hostgroup and replaced + it with zabbix_agent_hostgroups_state + - zabbix_agent role - removed support for zabbix_http_password, zabbix_api_http_password, + zabbix_api_pass, and zabbix_api_login_pass and replaced it with zabbix_api_login_pass + - zabbix_agent role - removed support for zabbix_http_user, zabbix_api_http_user, + zabbix_api_user, and zabbix_api_login_user and replaced it with zabbix_api_login_user + - zabbix_agent role - removed support for zabbix_inventory_mode and replaced + it with zabbix_agent_inventory_mode + - zabbix_agent role - removed support for zabbix_link_templates adn replaced + it with zabbix_agent_link_templates + - zabbix_agent role - removed support for zabbix_macros and replaced it with + zabbix_agent_macros + - zabbix_agent role - removed support for zabbix_proxy and replaced it with + zabbix_agent_proxy + - zabbix_agent role - removed support for zabbix_update_host and replaced it + with zabbix_agent_host_update + - zabbix_group_facts module - removed in favour of zabbix_group_info + - zabbix_host_facts module - removed in favour of zabbix_host_info minor_changes: - - All Roles - removed unused variables from defaults - - All Roles - standardized testing matrix to check all supported versions and - operating systems. - - All Roles - temporarily disable epel repo on zabbix installation tasks - - All Roles - updated documentation. - - Replaced usage of deprecated apt key management in Debian based distros - - See https://wiki.debian.org/DebianRepository/UseThirdParty - - Standardized tags across All Roles. - - Updated All Roles to default to version 6.4 for install. - - inventory plugin - switched from using zabbix-api to custom implementation - adding authentication with tokens - - inventory script - re-coded to stop using zabbix-api. API tokens support added. - - web role - removed support for htpasswd + - All Roles - removed unused variables from defaults + - All Roles - standardized testing matrix to check all supported versions and + operating systems. + - All Roles - temporarily disable epel repo on zabbix installation tasks + - All Roles - updated documentation. + - Replaced usage of deprecated apt key management in Debian based distros - + See https://wiki.debian.org/DebianRepository/UseThirdParty + - Standardized tags across All Roles. + - Updated All Roles to default to version 6.4 for install. + - inventory plugin - switched from using zabbix-api to custom implementation + adding authentication with tokens + - inventory script - re-coded to stop using zabbix-api. API tokens support added. + - web role - removed support for htpasswd removed_features: - - web role - removed installation of apache, debian, and php - - zabbix_agent role - removed support to configure firewall + - web role - removed installation of apache, debian, and php + - zabbix_agent role - removed support to configure firewall fragments: - - 2_0_update.yml - - 941_github_runner.yml - - 963-drop-zabbix-api.yml - - 964_tag_cleanup.yml - - 969_replace_apt_key.yml - - 976_old_zabbix_versions_removal.yml - - default_ver.yml - - inventory_script.yml - - python-ansible.yml - release_date: '2023-05-04' + - 2_0_update.yml + - 941_github_runner.yml + - 963-drop-zabbix-api.yml + - 964_tag_cleanup.yml + - 969_replace_apt_key.yml + - 976_old_zabbix_versions_removal.yml + - default_ver.yml + - inventory_script.yml + - python-ansible.yml + release_date: "2023-05-04" 2.0.1: changes: bugfixes: - - All Roles - Added option to selectively disable a repo on Redhat installs - - Proxy and Agent Roles - Added `zabbix_api_use_ssl` variable to allow secure - API connections - - Web Role - Added defaults and documentation for `zabbix_apache_custom_includes` - - agent - Handled undefined variable error for Windows default versions + - All Roles - Added option to selectively disable a repo on Redhat installs + - Proxy and Agent Roles - Added `zabbix_api_use_ssl` variable to allow secure + API connections + - Web Role - Added defaults and documentation for `zabbix_apache_custom_includes` + - agent - Handled undefined variable error for Windows default versions fragments: - - 986.yml - - 990.yml - - api_ssl.yml - - disable_repo.yml - release_date: '2023-05-26' + - 986.yml + - 990.yml + - api_ssl.yml + - disable_repo.yml + release_date: "2023-05-26" 2.1.0: changes: bugfixes: - - zabbix_agent role - Added missing become statement to allow run to role as - nonroot - - zabbix_host module - fix updating hosts that were discovered via LLD - - zabbix_proxy role - failed at version validation. Fix adds cast of zabbix_proxy_version - to float, similarly to the other roles. - - zabbix_proxy role - undefined vars at updating proxy definition. Fix adds - null defaults for zabbix_proxy_tlsaccept and zabbix_proxy_tlsconnect. - - zabbix_web role - removed 'ssl on;' nginx configuration, which is no longer - supported since nginx version 1.25.1. + - zabbix_agent role - Added missing become statement to allow run to role as + nonroot + - zabbix_host module - fix updating hosts that were discovered via LLD + - zabbix_proxy role - failed at version validation. Fix adds cast of zabbix_proxy_version + to float, similarly to the other roles. + - zabbix_proxy role - undefined vars at updating proxy definition. Fix adds + null defaults for zabbix_proxy_tlsaccept and zabbix_proxy_tlsconnect. + - zabbix_web role - removed 'ssl on;' nginx configuration, which is no longer + supported since nginx version 1.25.1. minor_changes: - - All Roles - Added support for Debian 12 (Bookworm) - - All Roles - Delete gpg ids variable. - - All Roles - Modified to allow a non-root user to run the role. - - All Roles - Updated testing to account for the correct version of Zabbix - - Multiple Roles - Replaced depricated 'include' statements with 'include_tasks' - - Update action_groups variable in runtime.yml - - zabbix_hostmacro module - Add description property for Host macro creation/update. - Allow to set/update description of Zabbix host macros. - - zabbix_proxy role - Added installation of PyMySQL pip package - - zabbix_proxy role - Modified installation of Centos 7 MySQL client - - zabbix_proxy role - Standardized MySQL client installed on Debian and Ubuntu - - zabbix_regexp module added - - zabbix_settings module added - - zabbix_token module added + - All Roles - Added support for Debian 12 (Bookworm) + - All Roles - Delete gpg ids variable. + - All Roles - Modified to allow a non-root user to run the role. + - All Roles - Updated testing to account for the correct version of Zabbix + - Multiple Roles - Replaced depricated 'include' statements with 'include_tasks' + - Update action_groups variable in runtime.yml + - zabbix_hostmacro module - Add description property for Host macro creation/update. + Allow to set/update description of Zabbix host macros. + - zabbix_proxy role - Added installation of PyMySQL pip package + - zabbix_proxy role - Modified installation of Centos 7 MySQL client + - zabbix_proxy role - Standardized MySQL client installed on Debian and Ubuntu + - zabbix_regexp module added + - zabbix_settings module added + - zabbix_token module added fragments: - - 1025-delete_vars_zabbix.yml - - 1029-update_action_groups.yml - - 732-zabbix-regexp.yml - - 991-zabbix-token.yml - - 993-zabbix-settings.yml - - agent_become.yml - - debian12.yml - - discovered_hosts_update.yml - - hostmacro_modules.yml - - include_tasks.yml - - missing.yml - - nginx_ssl_fix.yml - - non_root.yml - - proxy_role_fix.yml + - 1025-delete_vars_zabbix.yml + - 1029-update_action_groups.yml + - 732-zabbix-regexp.yml + - 991-zabbix-token.yml + - 993-zabbix-settings.yml + - agent_become.yml + - debian12.yml + - discovered_hosts_update.yml + - hostmacro_modules.yml + - include_tasks.yml + - missing.yml + - nginx_ssl_fix.yml + - non_root.yml + - proxy_role_fix.yml modules: - - description: Create/update/delete Zabbix regular expression - name: zabbix_regexp - namespace: '' - - description: Update Zabbix global settings. - name: zabbix_settings - namespace: '' - - description: Create/Update/Generate/Delete Zabbix token. - name: zabbix_token - namespace: '' - release_date: '2023-06-01' + - description: Create/update/delete Zabbix regular expression + name: zabbix_regexp + namespace: "" + - description: Update Zabbix global settings. + name: zabbix_settings + namespace: "" + - description: Create/Update/Generate/Delete Zabbix token. + name: zabbix_token + namespace: "" + release_date: "2023-06-01" 2.2.0: changes: bugfixes: - - zabbix_inventory - fixed handeling of add_zabbix_groups option - - zabbix_template - fix template export when template's content has "error" - word - - zabbix_web role - fix variable naming issues (undefined) to zabbix_web_version - and zabbix_web_apt_repository + - zabbix_inventory - fixed handeling of add_zabbix_groups option + - zabbix_template - fix template export when template's content has "error" + word + - zabbix_web role - fix variable naming issues (undefined) to zabbix_web_version + and zabbix_web_apt_repository minor_changes: - - Added zabbix_group_events_info module - - All Roles - Re-added ability to override Debian repo source - - All Roles - Updated Debian repository format to 822 standard - - All Roles - updated testing modules - - All Roles - updated to fully qualified module names - - action module - Added notify_if_canceled property - - zabbix agent role - Added capability to add additional configuration includes - - zabbix_agent and zabbix_proxy roles - Set default `zabbix_api_server_port` - to 80 or 443 based on `zabbix_api_use_ssl` - - zabbix_agent role - Removed duplicative Windows agent task - - zabbix_agent role - Standardized default yum priority to 99 - - zabbix_api_info module added - - zabbix_user module - add current_passwd optional parameter to enable password - updating of the currently logged in user (https://www.zabbix.com/documentation/6.4/en/manual/api/reference/user/update) + - Added zabbix_group_events_info module + - All Roles - Re-added ability to override Debian repo source + - All Roles - Updated Debian repository format to 822 standard + - All Roles - updated testing modules + - All Roles - updated to fully qualified module names + - action module - Added notify_if_canceled property + - zabbix agent role - Added capability to add additional configuration includes + - zabbix_agent and zabbix_proxy roles - Set default `zabbix_api_server_port` + to 80 or 443 based on `zabbix_api_use_ssl` + - zabbix_agent role - Removed duplicative Windows agent task + - zabbix_agent role - Standardized default yum priority to 99 + - zabbix_api_info module added + - zabbix_user module - add current_passwd optional parameter to enable password + updating of the currently logged in user (https://www.zabbix.com/documentation/6.4/en/manual/api/reference/user/update) fragments: - - 1058-zabbix_template_corner_case.yml - - 1081_fqmn.yml - - 733-zabbix-api_info.yml - - 921-action_notify_if_cancled.yml - - additional_includes.yml - - api-port.yml - - current_passwd_user_module.yml - - deb822.yml - - duplicate-windows-agent.yml - - module_group_events_info.yml - - web_role_vars_fix.yml - - yum-priority.yml - release_date: '2023-10-06' + - 1058-zabbix_template_corner_case.yml + - 1081_fqmn.yml + - 733-zabbix-api_info.yml + - 921-action_notify_if_cancled.yml + - additional_includes.yml + - api-port.yml + - current_passwd_user_module.yml + - deb822.yml + - duplicate-windows-agent.yml + - module_group_events_info.yml + - web_role_vars_fix.yml + - yum-priority.yml + release_date: "2023-10-06" 2.3.0: changes: bugfixes: - - api module - Fixed certificiate errors - - proxy and server roles - Defaulted location of fping and fping6 based on OS. - - proxy role - Removed requirement for mysql group definition. - - server role - typo in configuration var StasAllowedIP to StatsAllowedIP - - zabbix-{agent, javagateway, proxy, server, web} - support raspberry pi without - repository url specification + - api module - Fixed certificiate errors + - proxy and server roles - Defaulted location of fping and fping6 based on OS. + - proxy role - Removed requirement for mysql group definition. + - server role - typo in configuration var StasAllowedIP to StatsAllowedIP + - zabbix-{agent, javagateway, proxy, server, web} - support raspberry pi without + repository url specification minor_changes: - - api_requests - Handled error from depricated CertificateError class - - multiple roles - Removed unneeded Apt Clean commands. - - proxy role - Updated MariaDB version for Centos 7 to 10.11 - - zabbix web - Allowed the independent configuration of php-fpm without creating - vhost. - - zabbix_host_info - added ability to get all the hosts configured in Zabbix - - zabbix_proxy role - Add variable zabbix_proxy_dbpassword_hash_method to control - whether you want postgresql user password to be hashed with md5 or want to - use db default. When zabbix_proxy_dbpassword_hash_method is set to anything - other than md5 then do not hash the password with md5 so you could use postgresql - scram-sha-256 hashing method. - - zabbix_server role - Add variable zabbix_server_dbpassword_hash_method to - control whether you want postgresql user password to be hashed with md5 or - want to use db default. When zabbix_server_dbpassword_hash_method is set to - anything other than md5 then do not hash the password with md5 so you could - use postgresql scram-sha-256 hashing method. - - zabbix_templategroup module added + - api_requests - Handled error from depricated CertificateError class + - multiple roles - Removed unneeded Apt Clean commands. + - proxy role - Updated MariaDB version for Centos 7 to 10.11 + - zabbix web - Allowed the independent configuration of php-fpm without creating + vhost. + - zabbix_host_info - added ability to get all the hosts configured in Zabbix + - zabbix_proxy role - Add variable zabbix_proxy_dbpassword_hash_method to control + whether you want postgresql user password to be hashed with md5 or want to + use db default. When zabbix_proxy_dbpassword_hash_method is set to anything + other than md5 then do not hash the password with md5 so you could use postgresql + scram-sha-256 hashing method. + - zabbix_server role - Add variable zabbix_server_dbpassword_hash_method to + control whether you want postgresql user password to be hashed with md5 or + want to use db default. When zabbix_server_dbpassword_hash_method is set to + anything other than md5 then do not hash the password with md5 so you could + use postgresql scram-sha-256 hashing method. + - zabbix_templategroup module added fragments: - - 1134.yml - - 1136.yml - - 1142.yml - - fping.yml - - host_info_all_hosts.yml - - php_fpm_config.yml - - pr_1104.yml - - pr_647.yml - - proxy_mysql.yml - - pymysql.yml - - raspberrypi.yml - release_date: '2024-01-02' + - 1134.yml + - 1136.yml + - 1142.yml + - fping.yml + - host_info_all_hosts.yml + - php_fpm_config.yml + - pr_1104.yml + - pr_647.yml + - proxy_mysql.yml + - pymysql.yml + - raspberrypi.yml + release_date: "2024-01-02" 2.3.1: changes: bugfixes: - - Avoid to update user-directory configuration in dry run. + - Avoid to update user-directory configuration in dry run. fragments: - - 1156-bugfix_zabbix_user_directory_dryrun.yml - release_date: '2024-01-10' + - 1156-bugfix_zabbix_user_directory_dryrun.yml + release_date: "2024-01-10" 2.4.0: changes: bugfixes: - - zabbix_agent role - Fixed IPMI authentication algorithm default setting - - zabbix_agent role - Fixed issue to where scripts can be deployed alongside - userparameters - - zabbix_host - Don't reset IPMI setting when update inventory data of a host - - zabbix_host - Finish task with failed if host_group parameter is empty list - - zabbix_server role - proper indentaion of become in selinux.yaml - - zabbix_web role - Added missing semicolon to nginx vhost template. - - zabbix_web role, Add missing selinux.yml tasks. + - zabbix_agent role - Fixed IPMI authentication algorithm default setting + - zabbix_agent role - Fixed issue to where scripts can be deployed alongside + userparameters + - zabbix_host - Don't reset IPMI setting when update inventory data of a host + - zabbix_host - Finish task with failed if host_group parameter is empty list + - zabbix_server role - proper indentaion of become in selinux.yaml + - zabbix_web role - Added missing semicolon to nginx vhost template. + - zabbix_web role, Add missing selinux.yml tasks. minor_changes: - - Add slash at the end of the location directives, to prevent path traversal - attacks. - - Added active_since and active_till in zabbix_maintenance - - Added content_type for email in zabbix_mediatypes - - Introduce flag `enable_version_check` to allow installations on non-supported - platforms. - - agent, javagateway, proxy, server, and web role - added the http_proxy and - https_proxy environment variables to "Debian | Download gpg key" analog to - other tasks - - agent, javagateway, proxy, server, and web role - introduced default variable - zabbix_repo_deb_gpg_key_url with value http://repo.zabbix.com/zabbix-official-repo.key - - agent, javagateway, proxy, server, and web role - introduced default variable - zabbix_repo_deb_include_deb_src with value true - - agent, javagateway, proxy, server, and web role - removed superfluous slash - in zabbix_gpg_key of the Debian vars and renamed key to zabbix-repo instead - of zabbix-official-repo - - agent, javagateway, proxy, server, and web role - used variable zabbix_repo_deb_include_deb_src - in "Debian | Installing repository" to determine whether deb-src should be - added to /etc/apt/sources.list.d/zabbix.sources - - agent, javagateway, proxy, server, and web role - used zabbix_repo_deb_gpg_key_url - in "Debian | Download gpg key" instead of hardcoded url - - zabbix_correlation module added - - zabbix_service_info module added - - zabbix_template - Add template_yaml parameter. - - zabbix_web role, Refactored zabbix_selinux variable names to correlate with - selinux boolean names. + - Add slash at the end of the location directives, to prevent path traversal + attacks. + - Added active_since and active_till in zabbix_maintenance + - Added content_type for email in zabbix_mediatypes + - Introduce flag `enable_version_check` to allow installations on non-supported + platforms. + - agent, javagateway, proxy, server, and web role - added the http_proxy and + https_proxy environment variables to "Debian | Download gpg key" analog to + other tasks + - agent, javagateway, proxy, server, and web role - introduced default variable + zabbix_repo_deb_gpg_key_url with value http://repo.zabbix.com/zabbix-official-repo.key + - agent, javagateway, proxy, server, and web role - introduced default variable + zabbix_repo_deb_include_deb_src with value true + - agent, javagateway, proxy, server, and web role - removed superfluous slash + in zabbix_gpg_key of the Debian vars and renamed key to zabbix-repo instead + of zabbix-official-repo + - agent, javagateway, proxy, server, and web role - used variable zabbix_repo_deb_include_deb_src + in "Debian | Installing repository" to determine whether deb-src should be + added to /etc/apt/sources.list.d/zabbix.sources + - agent, javagateway, proxy, server, and web role - used zabbix_repo_deb_gpg_key_url + in "Debian | Download gpg key" instead of hardcoded url + - zabbix_correlation module added + - zabbix_service_info module added + - zabbix_template - Add template_yaml parameter. + - zabbix_web role, Refactored zabbix_selinux variable names to correlate with + selinux boolean names. fragments: - - 1157-add_template_yaml.yml - - 1162-do_not_update_ipmi_options.yml - - 1165-indent-become.yml - - 1168-finish-task-with-failed-if-host_group-parameter-is-empty_list.yml - - 1169-add_zabbix_correlation.yml - - 1176-content_type-in-mediatype.yml - - 1180-active_since-in-maintenance.yml - - 1183-nginx-fix-against-path-traversal.yml - - 1186-custom_gpg_key_url.yml - - 1188-agent_ipmi_authtype_fix.yml - - 1205-fix-zabbix-agent-scripts.yml - - 1206-fix-nginx-template-ssl-params.yml - - 1210-add_zabbix_service_info.yml - - 1220-refactor_selinux_tasks_and_variable_names_role_zabbix_web.yml - - 1224-enable-version-check.yml + - 1157-add_template_yaml.yml + - 1162-do_not_update_ipmi_options.yml + - 1165-indent-become.yml + - 1168-finish-task-with-failed-if-host_group-parameter-is-empty_list.yml + - 1169-add_zabbix_correlation.yml + - 1176-content_type-in-mediatype.yml + - 1180-active_since-in-maintenance.yml + - 1183-nginx-fix-against-path-traversal.yml + - 1186-custom_gpg_key_url.yml + - 1188-agent_ipmi_authtype_fix.yml + - 1205-fix-zabbix-agent-scripts.yml + - 1206-fix-nginx-template-ssl-params.yml + - 1210-add_zabbix_service_info.yml + - 1220-refactor_selinux_tasks_and_variable_names_role_zabbix_web.yml + - 1224-enable-version-check.yml modules: - - description: Create/update/delete Zabbix correlation - name: zabbix_correlation - namespace: '' - release_date: '2024-05-13' + - description: Create/update/delete Zabbix correlation + name: zabbix_correlation + namespace: "" + release_date: "2024-05-13" 2.5.0: changes: bugfixes: - - zabbix_web - make the FPM socket group-writable so the web server can properly - forward requests to the FPM process + - zabbix_web - make the FPM socket group-writable so the web server can properly + forward requests to the FPM process minor_changes: - - All Roles - Added support for Ubuntu 24.04 (Noble Numbat) - - zabbix_agent role - Standardized all configuration variables using the `zabbix_agent` - prefix vs `zabbix_agent2`. Support for `zabbix_agent2` to be removed in 3.0.0 - - zabbix_agent role - Standardized templating of agent.conf file - - zabbix_discoveryrule module added - - zabbix_host_events_update module added - - zabbix_item - add support for setting master items by name - - zabbix_item module added - - zabbix_itemprototype - add support for setting master items by name - - zabbix_itemprototype module added - - zabbix_trigger module added - - zabbix_triggerprototype module added + - All Roles - Added support for Ubuntu 24.04 (Noble Numbat) + - zabbix_agent role - Standardized all configuration variables using the `zabbix_agent` + prefix vs `zabbix_agent2`. Support for `zabbix_agent2` to be removed in 3.0.0 + - zabbix_agent role - Standardized templating of agent.conf file + - zabbix_discoveryrule module added + - zabbix_host_events_update module added + - zabbix_item - add support for setting master items by name + - zabbix_item module added + - zabbix_itemprototype - add support for setting master items by name + - zabbix_itemprototype module added + - zabbix_trigger module added + - zabbix_triggerprototype module added fragments: - - 1221-add_support_for_ubuntu_24.04.yml - - 1227-fpm-socket-permissions.yml - - agent.yml - - pr_1222.yml - - pr_1234.yml - - pr_1238.yml - release_date: '2024-05-30' + - 1221-add_support_for_ubuntu_24.04.yml + - 1227-fpm-socket-permissions.yml + - agent.yml + - pr_1222.yml + - pr_1234.yml + - pr_1238.yml + release_date: "2024-05-30" 2.5.1: changes: bugfixes: - - zabbix_agent role - Fix reading existing psk - - zabbix_agent role - Fix role when zabbix_agent_listenip is undefined + - zabbix_agent role - Fix reading existing psk + - zabbix_agent role - Fix role when zabbix_agent_listenip is undefined fragments: - - pr_1245.yml - - pr_1246.yml - release_date: '2024-05-30' + - pr_1245.yml + - pr_1246.yml + release_date: "2024-05-30" 3.0.0: changes: breaking_changes: - - All Roles - Remove support for Centos 7 - - All Roles - Remove support for Python2 - - All Roles - Removed support for Debian 10. - - All Roles - Removed support for Ubuntu 18.08 (Bionic) - - Remove support for Ansible < 2.15 and Python < 3.9 - - Remove support for Zabbix 6.2 - - Removed support for Zabbix 6.2 - - zabbix_agent role - Remove support for `zabbix_agent_zabbix_alias`. - - zabbix_agent role - Remove support for `zabbix_get_package` variable. - - zabbix_agent role - Remove support for `zabbix_sender_package` variable. - - zabbix_agent role - Remove support for all `zabbix_agent2_*` variables. + - All Roles - Remove support for Centos 7 + - All Roles - Remove support for Python2 + - All Roles - Removed support for Debian 10. + - All Roles - Removed support for Ubuntu 18.08 (Bionic) + - Remove support for Ansible < 2.15 and Python < 3.9 + - Remove support for Zabbix 6.2 + - Removed support for Zabbix 6.2 + - zabbix_agent role - Remove support for `zabbix_agent_zabbix_alias`. + - zabbix_agent role - Remove support for `zabbix_get_package` variable. + - zabbix_agent role - Remove support for `zabbix_sender_package` variable. + - zabbix_agent role - Remove support for all `zabbix_agent2_*` variables. bugfixes: - - remove references to tags in LLD rules - - zabbix_agent role - Fixed missing setting for `zabbix_agent_persistentbuffer` - - zabbix_agent role - fix error when ``zabbix_agent_tlsaccept`` is not set - - zabbix_agent role - fix error when ``zabbix_agent_tlsconnect`` is not set - - zabbix_agent role - fix name of Zabbix Agent 2 config filename - - zabbix_agent role - in ``zabbix_agent_interfaces`` directly use ``zabbix_agent_listenport``, - which does already contains the agent2 value if needed + - remove references to tags in LLD rules + - zabbix_agent role - Fixed missing setting for `zabbix_agent_persistentbuffer` + - zabbix_agent role - fix error when ``zabbix_agent_tlsaccept`` is not set + - zabbix_agent role - fix error when ``zabbix_agent_tlsconnect`` is not set + - zabbix_agent role - fix name of Zabbix Agent 2 config filename + - zabbix_agent role - in ``zabbix_agent_interfaces`` directly use ``zabbix_agent_listenport``, + which does already contains the agent2 value if needed major_changes: - - All Roles - Add support for openSUSE Leap 15 and SLES 15. - - All Roles - Separate installation of Zabbix repo from all other roles and - link them together. + - All Roles - Add support for openSUSE Leap 15 and SLES 15. + - All Roles - Separate installation of Zabbix repo from all other roles and + link them together. minor_changes: - - All Roles - Add support for yum authentication on RHEL based operating systems. - - All Roles - Add the `zabbix_manage_repo` variable. - - All Roles - Changed logic for installing selinux related changes based the - status of selinux on the target system. - - All Roles - Include installation of GPG key for RHEL based operating systems. - - All Roles - Updated all Zabbix configuration bool variables to be `true`/`false`. - - All Roles - Updated include option to include all .conf files. - - added new module zabbix_proxy_group (Zabbix 7.0) - - zabbix_agent role - Updated defaults to be inline with Zabbix defaults. - - zabbix_agent role - added 10 retries to agent API calls to workaround connection - problems on macOS - - zabbix_agent role - refactored userparameter tasks to be more efficient. - - zabbix_discovery_rule, zabbix_group_events_info, zabbix_host, zabbix_host_events_info, - zabbix_proxy, zabbix_proxy_info modules updated to work wih Zabbix 7.0 - - zabbix_host_events_info - add tag support + - All Roles - Add support for yum authentication on RHEL based operating systems. + - All Roles - Add the `zabbix_manage_repo` variable. + - All Roles - Changed logic for installing selinux related changes based the + status of selinux on the target system. + - All Roles - Include installation of GPG key for RHEL based operating systems. + - All Roles - Updated all Zabbix configuration bool variables to be `true`/`false`. + - All Roles - Updated include option to include all .conf files. + - added new module zabbix_proxy_group (Zabbix 7.0) + - zabbix_agent role - Updated defaults to be inline with Zabbix defaults. + - zabbix_agent role - added 10 retries to agent API calls to workaround connection + problems on macOS + - zabbix_agent role - refactored userparameter tasks to be more efficient. + - zabbix_discovery_rule, zabbix_group_events_info, zabbix_host, zabbix_host_events_info, + zabbix_proxy, zabbix_proxy_info modules updated to work wih Zabbix 7.0 + - zabbix_host_events_info - add tag support fragments: - - 1237.yml - - 1250.yml - - 1277-refactor-userparameters.yml - - fix_vars.yml - - pr_1194.yml - - pr_1250.yml - - pr_1258.yml - - pr_1259.yml - - pr_1267.yml - - pr_1269.yml - - remove_1804.yml - - remove_centos7.yml - - remove_deb10.yml - - remove_old_ansible.yml - - zabbix70_modules.yml - release_date: '2024-06-13' + - 1237.yml + - 1250.yml + - 1277-refactor-userparameters.yml + - fix_vars.yml + - pr_1194.yml + - pr_1250.yml + - pr_1258.yml + - pr_1259.yml + - pr_1267.yml + - pr_1269.yml + - remove_1804.yml + - remove_centos7.yml + - remove_deb10.yml + - remove_old_ansible.yml + - zabbix70_modules.yml + release_date: "2024-06-13" 3.0.1: changes: bugfixes: - - zabbix_agent role - Fix for removal of wrong agent include directory (https://github.com/ansible-collections/community.zabbix/issues/1236) - - zabbix_agent role - Fix windows agent installation issue - - zabbix_agent role - Fixed logic problem that would break if anything other - than PSK was used. + - zabbix_agent role - Fix for removal of wrong agent include directory (https://github.com/ansible-collections/community.zabbix/issues/1236) + - zabbix_agent role - Fix windows agent installation issue + - zabbix_agent role - Fixed logic problem that would break if anything other + than PSK was used. fragments: - - 1297.yml - - pr_1301.yml - - pr_1302_wrong_include_dir_removal.yml - release_date: '2024-06-22' + - 1297.yml + - pr_1301.yml + - pr_1302_wrong_include_dir_removal.yml + release_date: "2024-06-22" + 3.0.2: + changes: + bugfixes: + - zabbix_agent Role - Fix Configure zabbix_agent + - zabbix_agent Role - Fixes a mispelling of the `zabbix_agent_logfile` variable + - zabbix_agent Role - Fixes error in the double assignment of values for the + `zabbix_agent_tlspskidentity_check` and `zabbix_agent_tlspskcheck` variables. + - zabbix_agent Role - Fixes multiple errors related to the Windows install + - zabbix_agent, zabbix_proxy, and zabbix_server roles - Fixed problem with include + file + - zabbix_repo Role - Fixes error that attempts to use the repo name as a variable. + fragments: + - 1307.yml + - 1320.yml + - pr_1311.yml + release_date: "2024-07-04" diff --git a/changelogs/fragments/1307.yml b/changelogs/fragments/1307.yml deleted file mode 100644 index 1c4bb9886..000000000 --- a/changelogs/fragments/1307.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - zabbix_agent, zabbix_proxy, and zabbix_server roles - Fixed problem with include file diff --git a/changelogs/fragments/pr_1311.yml b/changelogs/fragments/pr_1311.yml deleted file mode 100644 index ec32dd7a9..000000000 --- a/changelogs/fragments/pr_1311.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - zabbix-agent Fix Configure zabbix-agent #1310 diff --git a/galaxy.yml b/galaxy.yml index 59f6f6073..bad5af3c4 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,7 +1,7 @@ --- namespace: community name: zabbix -version: 3.0.1 +version: 3.0.2 readme: README.md authors: - Dusan Matejka (@D3DeFi) diff --git a/roles/zabbix_agent/tasks/main.yml b/roles/zabbix_agent/tasks/main.yml index ca5229960..8a7fd28ee 100644 --- a/roles/zabbix_agent/tasks/main.yml +++ b/roles/zabbix_agent/tasks/main.yml @@ -27,7 +27,7 @@ - name: Set Variables ansible.builtin.set_fact: zabbix_agent_include_dir: "{{ zabbix_agent_include_dir is defined | ternary(zabbix_agent_include_dir, _include) }}" - zabbix_agent_logfile: "{{ zabbix_agent_logfilee is defined | ternary(zabbix_agent_logfile, _logfile) }}" + zabbix_agent_logfile: "{{ zabbix_agent_logfile is defined | ternary(zabbix_agent_logfile, _logfile) }}" zabbix_agent_package: "{{ zabbix_agent_package is defined | ternary(zabbix_agent_package, _agent_package) }}" zabbix_agent_pidfile: "{{ zabbix_agent_pidfile is defined | ternary(zabbix_agent_pidfile, _pidfile) }}" zabbix_agent_service: "{{ zabbix_agent_service is defined | ternary(zabbix_agent_service, _agent_service) }}"