Skip to content

Commit

Permalink
Merge branch 'devel' of github.com:Checkmk/ansible-collection-checkmk…
Browse files Browse the repository at this point in the history
….general into feature/module-distributed
  • Loading branch information
robin-checkmk committed Sep 25, 2024
2 parents 6d23ea0 + 08debeb commit 585a317
Show file tree
Hide file tree
Showing 73 changed files with 315 additions and 212 deletions.
2 changes: 1 addition & 1 deletion .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ exclude_paths:
# requirements, like avoiding python identifiers. To disable add `var-naming`
# to skip_list.
# var_naming_pattern: "^[a-z_][a-z0-9_]*$"
var_naming_pattern: "^checkmk_(server|agent|var)_.*$"
var_naming_pattern: "^(__)?checkmk_(server|agent|var)_.*$"

use_default_rules: true
# Load custom rules from this specific folder
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- name: 'CLA Assistant'
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA or my organization already has a signed CLA.') || github.event_name == 'pull_request_target'
uses: contributor-assistant/github-action@v2.4.0
uses: contributor-assistant/github-action@v2.5.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# the below token should have repo scope and must be manually added by you in the repository's secret
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
run: antsibull-docs collection --use-current --squash-hierarchy --fail-on-error --dest-dir ./docs/ ${{env.NAMESPACE}}.${{env.COLLECTION_NAME}}

- name: "Create Pull Request for Docs and Changelog against devel branch"
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v7
with:
commit-message: Update Docs and Changelogs upon Release
signoff: false
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ build/
tests/output
playbooks/vars/config.yml
playbooks/test*.yml
venv/
venv/
.direnv/
13 changes: 13 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@ checkmk.general Release Notes

.. contents:: Topics

v5.2.1
======

Release Summary
---------------

Bugfix Release.

Bugfixes
--------

- Folder module - Fix bug, where `update_attributes` failed on a folder with the Network Scan enabled.

v5.2.0
======

Expand Down
18 changes: 12 additions & 6 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
* @robin-checkmk
/tests/ @robin-checkmk
/roles/ @robin-checkmk
/playbooks/ @robin-checkmk
/plugins/lookup/version.py @lgetwan
*.md @robin-checkmk
/plugins/ @lgetwan
/plugins/doc_fragments/ @robin-checkmk
/plugins/lookup/ @lgetwan
/plugins/lookup/bakery.py @Max-checkmk
/plugins/module_utils/ @lgetwan
/plugins/modules/ @lgetwan
/plugins/module_utils/ @godspeed-you
/plugins/modules/user.py @lgetwan
/plugins/modules/bakery.py @Max-checkmk
/plugins/modules/contact_group.py @msekania
/plugins/modules/discovery.py @Max-checkmk
/plugins/modules/host_group.py @msekania
/plugins/modules/tag_group.py @Max-checkmk
/plugins/modules/timeperiod.py @Max-checkmk
/plugins/modules/password.py @Max-checkmk
/plugins/modules/service_group.py @msekania
/roles/agent/tasks/Windows.yml @Max-checkmk
/roles/agent/vars/Windows.yml @Max-checkmk
/roles/agent/tasks/Win32NT.yml @Max-checkmk
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ help:
@echo " publish - Make files available, update git and announce"
@echo ""

build:
@echo "Building Collection from current working directory. This can take a while."
@ansible-galaxy collection build --force ./

install:
@ansible-galaxy collection install -f ./checkmk-general-$(VERSION).tar.gz

release: version
# gh workflow run release.yaml --ref main # https://cli.github.com/manual/gh_workflow_run

Expand Down
1 change: 1 addition & 0 deletions SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ Collection Version | Checkmk Versions | Ansible Versions | Remarks
5.0.0 | 2.1.0p44, 2.2.0p27, 2.3.0p5 | 2.15, 2.16, 2.17 | Breaking changes to the following modules: `lookup_folder`, `rule` and role: `agent`.
5.1.0 | 2.1.0p44, 2.2.0p27, 2.3.0p6 | 2.15, 2.16, 2.17 | None
5.2.0 | 2.1.0p46, 2.2.0p31, 2.3.0p11 | 2.15, 2.16, 2.17 | None
5.2.1 | 2.1.0p46, 2.2.0p32, 2.3.0p12 | 2.15, 2.16, 2.17 | None
2 changes: 1 addition & 1 deletion changelogs/.plugin-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,4 @@ plugins:
strategy: {}
test: {}
vars: {}
version: 5.2.0
version: 5.2.1
3 changes: 3 additions & 0 deletions changelogs/archive/5.2.1/folder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bugfixes:
- Folder module - Fix bug, where `update_attributes` failed on a folder with
the Network Scan enabled.
1 change: 1 addition & 0 deletions changelogs/archive/5.2.1/release_summary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
release_summary: "Bugfix Release."
10 changes: 10 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -994,3 +994,13 @@ releases:
- release_summary.yaml
- tag_group.yaml
release_date: '2024-08-05'
5.2.1:
changes:
bugfixes:
- Folder module - Fix bug, where `update_attributes` failed on a folder with
the Network Scan enabled.
release_summary: Bugfix Release.
fragments:
- folder.yml
- release_summary.yml
release_date: '2024-08-14'
2 changes: 1 addition & 1 deletion docs/activation_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.activation module -- Activate changes in Checkmk.
.. Collection note
.. note::
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion docs/bakery_lookup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.bakery lookup -- Get the bakery status of a Checkmk server
.. Collection note
.. note::
This lookup plugin is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This lookup plugin is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion docs/bakery_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.bakery module -- Trigger baking and signing in the agent bakery.
.. Collection note
.. note::
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion docs/contact_group_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.contact_group module -- Manage contact groups in Checkmk (bulk v
.. Collection note
.. note::
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion docs/discovery_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.discovery module -- Discover services in Checkmk.
.. Collection note
.. note::
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion docs/downtime_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.downtime module -- Manage downtimes in Checkmk.
.. Collection note
.. note::
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion docs/folder_lookup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.folder lookup -- Get folder attributes
.. Collection note
.. note::
This lookup plugin is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This lookup plugin is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion docs/folder_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.folder module -- Manage folders in Checkmk.
.. Collection note
.. note::
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion docs/folders_lookup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.folders lookup -- Get various information about a folder
.. Collection note
.. note::
This lookup plugin is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This lookup plugin is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion docs/host_group_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.host_group module -- Manage host groups in Checkmk (bulk version
.. Collection note
.. note::
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion docs/host_lookup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.host lookup -- Get host attributes
.. Collection note
.. note::
This lookup plugin is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This lookup plugin is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion docs/host_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.host module -- Manage hosts in Checkmk.
.. Collection note
.. note::
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion docs/hosts_lookup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.hosts lookup -- Get various information about a host
.. Collection note
.. note::
This lookup plugin is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This lookup plugin is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Checkmk.General
===============

Collection version 5.2.0
Collection version 5.2.1

.. contents::
:local:
Expand Down
2 changes: 1 addition & 1 deletion docs/password_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.password module -- Manage passwords in Checkmk.
.. Collection note
.. note::
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion docs/rule_lookup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.rule lookup -- Show a rule
.. Collection note
.. note::
This lookup plugin is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This lookup plugin is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion docs/rule_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.rule module -- Manage rules in Checkmk.
.. Collection note
.. note::
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion docs/rules_lookup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.rules lookup -- Get a list rules
.. Collection note
.. note::
This lookup plugin is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This lookup plugin is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion docs/ruleset_lookup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.ruleset lookup -- Show a ruleset
.. Collection note
.. note::
This lookup plugin is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This lookup plugin is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion docs/rulesets_lookup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.rulesets lookup -- Search rulesets
.. Collection note
.. note::
This lookup plugin is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This lookup plugin is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion docs/service_group_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.service_group module -- Manage service groups in Checkmk (bulk v
.. Collection note
.. note::
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion docs/tag_group_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.tag_group module -- Manage tag groups in Checkmk.
.. Collection note
.. note::
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion docs/timeperiod_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.timeperiod module -- Manage time periods in checkmk.
.. Collection note
.. note::
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion docs/user_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.user module -- Manage users in Checkmk.
.. Collection note
.. note::
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This module is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion docs/version_lookup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checkmk.general.version lookup -- Get the version of a Checkmk server
.. Collection note
.. note::
This lookup plugin is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.0).
This lookup plugin is part of the `checkmk.general collection <https://galaxy.ansible.com/ui/repo/published/checkmk/general/>`_ (version 5.2.1).

It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.
Expand Down
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name: general

# The version of the collection. Must be compatible with semantic versioning

version: 5.2.0
version: 5.3.0

# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md
Expand Down
Loading

0 comments on commit 585a317

Please sign in to comment.