Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 4.3.0 #538

Merged
merged 139 commits into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
139 commits
Select commit Hold shift + click to select a range
43cc83a
WIP
robin-checkmk Dec 1, 2023
96d8c2c
Add findings.
robin-checkmk Dec 5, 2023
43d1bb6
First working Dockerfile with a hack.
robin-checkmk Dec 5, 2023
6f39205
The rule module has now a parameter rule_id that can be used to ident…
lgetwan Dec 20, 2023
78e8cd9
Merge branch 'devel' of github.com:Checkmk/ansible-collection-checkmk…
robin-checkmk Dec 21, 2023
aa67aa3
Work in progress.
robin-checkmk Dec 21, 2023
0d0771e
Clean up.
robin-checkmk Dec 22, 2023
3f27a81
Add README.
robin-checkmk Dec 22, 2023
61871a2
Add systemctl faker.
robin-checkmk Dec 22, 2023
2ead668
First working state.
robin-checkmk Dec 22, 2023
858fc4e
Update README.
robin-checkmk Dec 22, 2023
2bc1f36
Rename sites for tests.
robin-checkmk Dec 27, 2023
455c0cc
Remove duplication by including a single prep.yml.
robin-checkmk Dec 27, 2023
7b4da97
Add Python versions and support commercial editions.
robin-checkmk Dec 27, 2023
5673cff
Add first draft of GitHub Action.
robin-checkmk Dec 27, 2023
100fe86
Add sanity ignores for irrelevant files.
robin-checkmk Dec 27, 2023
b37d6b5
Reorganize folder structure.
robin-checkmk Jan 4, 2024
2338663
Try to trigger container build action.
robin-checkmk Jan 4, 2024
124d5d2
Update GitHub Action.
robin-checkmk Jan 4, 2024
5f77368
Add cloudsend.
robin-checkmk Jan 4, 2024
951204e
Update Makefile.
robin-checkmk Jan 4, 2024
48854ca
Update GitHub Action trigger.
robin-checkmk Jan 4, 2024
c30a2d1
Clean up Dockerfile.
robin-checkmk Jan 4, 2024
66fa20e
Bugfix workflow env.
robin-checkmk Jan 4, 2024
a464825
Fix Ansible setup.
robin-checkmk Jan 4, 2024
38e6ee4
Fix typo and clean up systemd.
robin-checkmk Jan 4, 2024
4be8d80
Fix typo.
robin-checkmk Jan 4, 2024
7abd094
Fix file handling.
robin-checkmk Jan 4, 2024
cfbaf35
Update sanity test ignores.
robin-checkmk Jan 4, 2024
4a655a9
Add disk cleanup to container build.
robin-checkmk Jan 4, 2024
bf84c86
Clean up ignores.
robin-checkmk Jan 4, 2024
06655b4
Fix artifact upload.
robin-checkmk Jan 4, 2024
5dc19ea
Clean up build job and add test job.
robin-checkmk Jan 4, 2024
134836a
Ongoing development.
lgetwan Jan 9, 2024
f230187
Now it's also possible to change existing rules based on a given rule…
lgetwan Jan 19, 2024
48f3429
The rule module has now a parameter rule_id that can be used to ident…
lgetwan Dec 20, 2023
059df3d
Ongoing development.
lgetwan Jan 9, 2024
f740143
Now it's also possible to change existing rules based on a given rule…
lgetwan Jan 19, 2024
496a3a0
Merge branch 'feature/module-rules-rule_id' of github.com:tribe29/ans…
lgetwan Jan 19, 2024
add9f81
Modifying existing rules is now idempotent, at least for some of the …
lgetwan Jan 19, 2024
1b51ae9
Typo in the rules lookup module integration test.
lgetwan Jan 19, 2024
d30d7a7
Added an integration test case for modifying existing rules.
lgetwan Jan 19, 2024
fb5d4ae
Sanity
lgetwan Jan 19, 2024
409ee8e
Typo in rule integration test.
lgetwan Jan 19, 2024
311885c
Copy & paste issue in rule integration test.
lgetwan Jan 19, 2024
6063567
Merge branch 'build/integration-tests-docker' of github.com:Checkmk/a…
robin-checkmk Jan 19, 2024
7f20c9b
Move includes to dedicated folder.
robin-checkmk Jan 19, 2024
5bc1059
Move global variables to included file.
robin-checkmk Jan 19, 2024
a5ea92c
Update tasks with new variable include.
robin-checkmk Jan 19, 2024
99e4149
Update README.
robin-checkmk Jan 19, 2024
99e53bb
Clean out variables.
robin-checkmk Jan 19, 2024
66529fe
Move site readiness task to includes.
robin-checkmk Jan 19, 2024
55b902b
Bugfix variable names.
robin-checkmk Jan 19, 2024
149c5f4
Cleanup.
robin-checkmk Jan 19, 2024
303a939
Try to fix ignores for Ansible devel sanity tests.
robin-checkmk Jan 19, 2024
0ee61cc
Clean up Makefile.
robin-checkmk Jan 19, 2024
2cdb9b7
Fix typo in file name.
robin-checkmk Jan 19, 2024
a4d96f8
Remove unnecessary skip.
robin-checkmk Jan 19, 2024
24dc453
Debugged the integration test for the rules module.
lgetwan Jan 23, 2024
2c3a9c6
The rule module has now a parameter rule_id that can be used to ident…
lgetwan Dec 20, 2023
8f7d4a6
Ongoing development.
lgetwan Jan 9, 2024
b39fd6d
Now it's also possible to change existing rules based on a given rule…
lgetwan Jan 19, 2024
ed320f6
The rule module has now a parameter rule_id that can be used to ident…
lgetwan Dec 20, 2023
aad310f
Typo in the rules lookup module integration test.
lgetwan Jan 19, 2024
461e4b9
Added an integration test case for modifying existing rules.
lgetwan Jan 19, 2024
8407c41
Typo in rule integration test.
lgetwan Jan 19, 2024
15cfe63
Copy & paste issue in rule integration test.
lgetwan Jan 19, 2024
05b4ef8
Debugged the integration test for the rules module.
lgetwan Jan 23, 2024
30bf87a
Manually merge pull request #517 from meni2029/fix/module_rule_relati…
lgetwan Jan 23, 2024
7eea75b
Merging...
lgetwan Jan 23, 2024
2d30e53
Update release process.
robin-checkmk Jan 23, 2024
7a060a4
Merge branch 'devel' of github.com:tribe29/ansible-collection-tribe29…
lgetwan Jan 24, 2024
55a6c11
Initial commit
Max-checkmk Jan 25, 2024
acc2d91
scripts/testing.sh now has an option to do QA tests.
lgetwan Jan 25, 2024
4925f74
Merge pull request #537 from Checkmk/feature/testing_script
robin-checkmk Jan 25, 2024
a7c0dfc
extend: fuctionality
msekania Jan 27, 2024
53548e2
fix:
msekania Jan 27, 2024
a5368ad
fix: style
msekania Jan 27, 2024
1f864bd
fix: linting
msekania Jan 27, 2024
d51703e
fix:
msekania Jan 27, 2024
d81428b
fix:
msekania Jan 27, 2024
c16f50c
fix:
msekania Jan 27, 2024
e45e524
Merge pull request #535 from Checkmk/Making_usermodule_ready_for_2.3
robin-checkmk Jan 30, 2024
c7c4f24
Merge pull request #526 from Checkmk/build/simplify-tests
robin-checkmk Jan 30, 2024
f711703
Merge branch 'devel' of github.com:Checkmk/ansible-collection-checkmk…
robin-checkmk Jan 30, 2024
bb6f5df
fix: tested
msekania Jan 30, 2024
680caf7
fix: QA
msekania Jan 30, 2024
28fa256
add: parents parsing
msekania Jan 31, 2024
3cd3483
fix: style
msekania Jan 31, 2024
7d80401
fix: check
msekania Jan 31, 2024
6dfa939
init:
msekania Jan 31, 2024
b786905
add: parents parse
msekania Jan 31, 2024
bb97c18
Bump github/issue-labeler from 3.3 to 3.4
dependabot[bot] Feb 5, 2024
b8f44f3
Bump peter-evans/create-pull-request from 5 to 6
dependabot[bot] Feb 5, 2024
44e23f4
Merge pull request #548 from Checkmk/dependabot/github_actions/devel/…
robin-checkmk Feb 5, 2024
648a069
Merge pull request #549 from Checkmk/dependabot/github_actions/devel/…
robin-checkmk Feb 5, 2024
927b11a
Clean up pull request creation upon release.
robin-checkmk Feb 5, 2024
2e43a1e
Merge branch 'devel' into feature/module-rules-rule_id
robin-checkmk Feb 5, 2024
cb828f3
Formatting and phrasing.
robin-checkmk Feb 5, 2024
b4e1aaa
add: requested changes
msekania Feb 9, 2024
bce20d3
refactor: request
msekania Feb 9, 2024
eaa4910
fix: style
msekania Feb 9, 2024
70f1555
Merge branch 'devel' into feature/extend_folder_module_functionality
lgetwan Feb 9, 2024
fd41418
Did some merging magic (actually, all manually...).
lgetwan Feb 9, 2024
ea6706c
fix: bug, idempotency
msekania Feb 9, 2024
4e55a62
fix: style
msekania Feb 9, 2024
f447503
Merge pull request #546 from msekania/feature/Intruduce_env_ini_varia…
robin-checkmk Feb 13, 2024
a846fb7
Update lookup_folder with new variables.
robin-checkmk Feb 13, 2024
b646c9c
Merge pull request #539 from msekania/feature/extend_folder_module_fu…
robin-checkmk Feb 13, 2024
97baad0
Merge branch 'devel' into feature_parents_attribute
lgetwan Feb 14, 2024
0d43296
Blackenedgit add plugins/modules/folder.py
lgetwan Feb 14, 2024
66e0b06
Folder module - Fix idempotency when using attributes parameter for c…
lgetwan Feb 14, 2024
e31d1ae
Merge pull request #545 from msekania/feature_parents_attribute
robin-checkmk Feb 14, 2024
e19fd62
Update lookup_bakery with new variables.
robin-checkmk Feb 14, 2024
f5aadb7
Update changelog template.
robin-checkmk Feb 15, 2024
bed616f
removed_pw_length_check
Max-checkmk Feb 15, 2024
acd7800
corrected testet versions
Max-checkmk Feb 15, 2024
1b856a3
Merge pull request #558 from Checkmk/fix/folder_module_idempotency
robin-checkmk Feb 15, 2024
6e671d3
Add changelog and extend documentation.
robin-checkmk Feb 15, 2024
bd071e2
Merge branch 'devel' of github.com:Checkmk/ansible-collection-checkmk…
robin-checkmk Feb 15, 2024
c89a83d
Merge pull request #559 from Checkmk/user_roll_backwards
robin-checkmk Feb 15, 2024
68940f8
Fix variable names.
robin-checkmk Feb 15, 2024
0433f90
Add initial set of tests using the new variables from #546.
robin-checkmk Feb 15, 2024
45d04c4
Add changelogs.
robin-checkmk Feb 15, 2024
89bd427
Update doc fragment.
robin-checkmk Feb 15, 2024
4b8b7b0
Merge branch 'devel' of github.com:Checkmk/ansible-collection-checkmk…
robin-checkmk Feb 15, 2024
35611d2
Bump Checkmk versions.
robin-checkmk Feb 15, 2024
bdc2fad
Bump collection version.
robin-checkmk Feb 15, 2024
2557900
Merge pull request #508 from Checkmk/feature/module-rules-rule_id
robin-checkmk Feb 16, 2024
160f068
Bugfix.
robin-checkmk Feb 16, 2024
86a4834
Merge branch 'devel' of github.com:Checkmk/ansible-collection-checkmk…
robin-checkmk Feb 16, 2024
d46ce0a
Enable extended integration tests, using a hack.
robin-checkmk Feb 16, 2024
28ac0dc
Document known issues and limitations.
robin-checkmk Feb 16, 2024
a01a6d3
Minor update to README.
robin-checkmk Feb 16, 2024
5472f93
Add dedicated README for lookup plugins.
robin-checkmk Feb 16, 2024
8482ffd
Merge pull request #557 from Checkmk/build/extend-lookup-tests
robin-checkmk Feb 16, 2024
ef483f5
Merge branch 'devel' of github.com:Checkmk/ansible-collection-checkmk…
robin-checkmk Feb 16, 2024
607ed96
Add missing changelogs.
robin-checkmk Feb 16, 2024
6289a5c
Add missing changelog.
robin-checkmk Feb 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/label-issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Label Issues."
uses: github/issue-labeler@v3.3
uses: github/issue-labeler@v3.4
with:
configuration-path: .github/labels-issues.yml
include-title: 1
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,14 @@ 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@v5
uses: peter-evans/create-pull-request@v6
with:
commit-message: Update Docs and Changelogs
committer: GitHub <noreply@github.com>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
commit-message: Update Docs and Changelogs upon Release
signoff: false
branch: changelogs-docs-update-devel
base: devel
delete-branch: true
title: '[Auto] Update changelogs and docs'
title: '[Auto] Update changelogs and docs upon release'
body: |
Changelogs and docs updated during *${{ steps.current_version.outputs.version }}* release.
assignees: robin-checkmk
Expand Down Expand Up @@ -146,7 +144,7 @@ jobs:
# Ansible Collection: ${{env.NAMESPACE}}.${{env.COLLECTION_NAME}}

For information about this collection and how to install it, refer to the [README](https://github.com/Checkmk/ansible-collection-checkmk.general/blob/main/README.md).

For a detailed changelog, refer to the [CHANGELOG](https://github.com/Checkmk/ansible-collection-checkmk.general/blob/main/CHANGELOG.rst).

- name: Publish Ansible Collection to the Galaxy
Expand Down
16 changes: 10 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ We urge you to run the following tests locally as applicable, so the turnaround
### Sanity

[Ansible Sanity Tests](https://docs.ansible.com/ansible/latest/dev_guide/testing_sanity.html) enforce Ansible coding standards and requirements facilitating static code analysis. The `ansible-test` tool typically comes along with your Ansible installation (e.g. if you use the `requirements.txt` of this project).
We recommend using the `--docker` option, so you get the best results, as that uses a Docker image crafted and maintained by the Ansible project.
We recommend using the `--docker` option, so you get the best results, as that uses a Docker image crafted and maintained by the Ansible project.
**Caution**: By default, Docker containers cannot be run as an unprivileged user! Depending on your setup you need to allow your user to run containers, or run `ansible-test` with `sudo`. Keep in mind, that with the latter you are running in another environment and might need to take care of installing the Python requirements for Ansible.

To run the tests locally, use the following command in the project root:
Expand All @@ -120,7 +120,7 @@ You can also run a subset by mentioning them as follows. See `ansible-test sanit
### Integration

[Ansible Integration Tests](https://docs.ansible.com/ansible/latest/dev_guide/testing_integration.html) run test cases created by the maintainers of this project, to ensure the collection actually does what is intended. The `ansible-test` tool typically comes along with your Ansible installation (e.g. if you use the `requirements.txt` of this project).
We strongly recommend using the `--docker` option, so you do not modify your local system with these tests.
We strongly recommend using the `--docker` option, so you do not modify your local system with these tests.
**Caution**: By default, Docker containers cannot be run as an unprivileged user! Depending on your setup you need to allow your user to run containers, or run `ansible-test` with `sudo`. Keep in mind, that with the latter you are running in another environment and might need to take care of installing the Python requirements for Ansible.

To run all tests locally, use the following command in the project root:
Expand Down Expand Up @@ -149,16 +149,20 @@ Releasing this collection is automated using GitHub Actions.
Before running the action `Release Collection` against the `main` branch, the
following needs to be done:

1. Update the collection version in `galaxy.yml` and `requirements.yml`. Look for `version:`.
2. Check the integration and molecule tests for up-to-date Checkmk versions.
1. Create a pull request from `devel` into `main` with the following naming scheme: `Release X.Y.Z`.
2. Choose and note which feature pull request you want to include in this release.
3. Check the GitHub Workflows for [EOL Ansible and Python versions and add new releases](https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix).
4. Update the compatibility matrix in `SUPPORT.md` accordingly.
4. The following tasks are automated in `scripts/release.sh`. Feel free to use the script, but double-check the result!
1. Update the collection version in `galaxy.yml` and `requirements.yml`. Look for the string `version:`.
2. Check the integration and molecule tests for up-to-date Checkmk versions and update if necessary.
3. Update the compatibility matrix in `SUPPORT.md` accordingly.
5. Double check `changelogs/fragments` if all changes have a changelog.
6. After all changes have been performed, merge them into the `main` branch.
7. Release the collection by running the action `Release Collection` against the `main` branch.
8. Merge the automatically created pull request into `devel` and then update the `main` branch from `devel`.

Some of these steps can already be checked and done with `scripts/release.sh`. This is a work in progress and should be used carefully.
Some of these steps can already be checked and done with `scripts/release.sh`.
This is a work in progress and should be used carefully.
You should definitely check the resulting changes thoroughly before committing.

## Code of Conduct
Expand Down
78 changes: 56 additions & 22 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,22 @@ SHELL=/bin/bash

VERSION := $$(grep 'version:' galaxy.yml | cut -d ' ' -f 2)

COLLECTION_ROOT="/home/vagrant/ansible_collections/checkmk/general"
CONTAINER_BUILD_ROOT="$(COLLECTION_ROOT)/tests/container"
CONTAINER_NAME="ansible-checkmk-test"

help:
@echo "setup - Run all setup target at once."
@echo "setup - Run all setup target at once."
@echo ""
@echo "setup-python - Prepare the system for development with Python."
@echo "setup-python - Prepare the system for development with Python."
@echo ""
@echo "setup-kvm - Install and enable KVM and prepare Vagrant."
@echo "setup-kvm - Install and enable KVM and prepare Vagrant."
@echo ""
@echo "kvm - Only copy the correct Vagrantfile for use with KVM."
@echo "kvm - Only copy the correct Vagrantfile for use with KVM."
@echo ""
@echo "setup-vbox - Copy the correct Vagrantfile for use with VirtualBox."
@echo "setup-vbox - Copy the correct Vagrantfile for use with VirtualBox."
@echo ""
@echo "vbox - Copy the correct Vagrantfile for use with VirtualBox."
@echo "vbox - Copy the correct Vagrantfile for use with VirtualBox."
@echo ""
@echo "vm - Create a virtual development environment."
@echo "molecule - Create a virtual environment for molecule tests."
Expand All @@ -22,23 +26,34 @@ help:
@echo "vms-redhat - Create a virtual environment with all RedHat family OSes."
@echo "vms-suse - Create a virtual environment with all Suse family OSes."
@echo ""
@echo "clean - Clean up several things"
@echo "clean-vm - Clean up virtual development environment."
@echo "container - Create a customized container image for testing."
@echo ""
@echo "tests - Run all available tests."
@echo "tests-sanity - Run sanity tests."
@echo "tests-integration - Run all integration tests."
@echo "tests-integration-custom - Run all integration tests using a custom built image."
@echo ""
@echo "version - Update collection version"
@echo "clean - Clean up several things"
@echo "clean-vm - Clean up virtual development environment."
@echo ""
@echo "version - Update collection version"
@echo ""
@echo "Publishing:"
@echo ""
@echo " release - Build, upload, publish, announce and tag a release"
@echo " announce - Announce the release"
@echo " publish - Make files available, update git and announce"
@echo " release - Build, upload, publish, announce and tag a release"
@echo " announce - Announce the release"
@echo " publish - Make files available, update git and announce"
@echo ""

release:

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

announce:
# See cma scripts announce

version:
@newversion=$$(dialog --stdout --inputbox "New Version:" 0 0 "$(VERSION)") ; \
if [ -n "$$newversion" ] ; then ./scripts/release.sh -s "$(VERSION)" -t $$newversion ; fi

setup: setup-python setup-kvm

Expand Down Expand Up @@ -66,9 +81,7 @@ setup-kvm: kvm
qemu-kvm \
libvirt-clients \
libvirt-daemon-system \
bridge-utils \
virtinst \
libguestfs-tools \
bridge-utils \--build-arg DL_PW=$$(cat .secret)
libvirt-daemon\
libvirt-dev \
libxslt-dev \
Expand All @@ -85,10 +98,6 @@ vbox:

setup-vbox: vbox

version:
@newversion=$$(dialog --stdout --inputbox "New Version:" 0 0 "$(VERSION)") ; \
if [ -n "$$newversion" ] ; then ./scripts/release.sh -s "$(VERSION)" -t $$newversion ; fi

clean: clean-vm

clean-vm:
Expand All @@ -114,3 +123,28 @@ vms-suse:

vms-windows:
@vagrant up ansidows

container: molecule
vagrant ssh molecule -c "\
docker build -t $(CONTAINER_NAME) $(CONTAINER_BUILD_ROOT) --build-arg DL_PW=$$(cat .secret) && \
docker save $(CONTAINER_NAME):latest > $(COLLECTION_ROOT)/$(CONTAINER_NAME)-latest-image.tar.gz"

tests: tests-sanity tests-integration

tests-sanity: vm
@vagrant ssh collection -c "\
cd $(COLLECTION_ROOT) && \
ansible-test sanity --docker"

tests-integration: vm
@vagrant ssh collection -c "\
cd $(COLLECTION_ROOT) && \
ansible-test integration --docker"

tests-integration-custom: vm container
@vagrant ssh collection -c "\
cd $(COLLECTION_ROOT) && \
docker load -i ansible-checkmk-test-latest-image.tar.gz && \
ansible-test integration --docker-privileged --python 3.10 --docker ansible-checkmk-test && \
ansible-test integration --docker-privileged --python 3.11 --docker ansible-checkmk-test && \
ansible-test integration --docker-privileged --python 3.12 --docker ansible-checkmk-test"
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ Checkmk and keep your daily operations smooth and efficient.
## Here be dragons!

This collection is provided AS IS and we cannot guarantee proper functionality.

Additionally, there is no commercial support whatsoever!

This is an open source endeavour, on which we want to collaborate with the community.

[![Ansible Sanity Tests](https://github.com/Checkmk/ansible-collection-checkmk.general/actions/workflows/ansible-sanity-tests.yaml/badge.svg)](https://github.com/Checkmk/ansible-collection-checkmk.general/actions/workflows/ansible-sanity-tests.yaml)
Expand Down Expand Up @@ -42,6 +44,8 @@ Name | Description
-->

### Lookup plugins
Click on the lookup plugin name below, to get detailed documentation about it.
For more in-depth documentation, see [this README](https://github.com/Checkmk/ansible-collection-checkmk.general/blob/main/plugins/lookup/README.md).

Name | Description | Tests
--- | --- | ---
Expand All @@ -57,6 +61,7 @@ Name | Description | Tests
[checkmk.general.version](https://github.com/Checkmk/ansible-collection-checkmk.general/blob/main/plugins/lookup/version.py)|Look up version and edition information.|[![Integration Tests for Version Lookup Module](https://github.com/Checkmk/ansible-collection-checkmk.general/actions/workflows/ans-int-test-lkp-version.yaml/badge.svg)](https://github.com/Checkmk/ansible-collection-checkmk.general/actions/workflows/ans-int-test-lkp-version.yaml)

### Modules
Click on the module name below, to get detailed documentation about it.

Name | Description | Tests
--- | --- | ---
Expand All @@ -74,6 +79,7 @@ Name | Description | Tests
[checkmk.general.user](https://github.com/Checkmk/ansible-collection-checkmk.general/blob/main/plugins/modules/user.py)|Manage users.|[![Integration Tests for User Module](https://github.com/Checkmk/ansible-collection-checkmk.general/actions/workflows/ans-int-test-user.yaml/badge.svg)](https://github.com/Checkmk/ansible-collection-checkmk.general/actions/workflows/ans-int-test-user.yaml)

### Roles
Click on the role name below, to get documentation about the role.

Name | Description | Tests
--- | --- | ---
Expand Down
1 change: 1 addition & 0 deletions SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,4 @@ Collection Version | Checkmk Versions | Ansible Versions | Remarks
4.0.1 | 2.0.0p39, 2.1.0p36, 2.2.0p16 | 2.14, 2.15, 2.16 | None
4.1.0 | 2.0.0p39, 2.1.0p37, 2.2.0p17 | 2.14, 2.15, 2.16 | None
4.2.0 | 2.0.0p39, 2.1.0p38, 2.2.0p19 | 2.14, 2.15, 2.16 | None
4.3.0 | 2.0.0p39, 2.1.0p39, 2.2.0p22 | 2.14, 2.15, 2.16 | None
2 changes: 2 additions & 0 deletions Vagrantfile.kvm
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Vagrant.configure("2") do |config|
apt-get -y install python3-pip ca-certificates curl gnupg lsb-release
python3 -m pip install pip --upgrade
python3 -m pip install -r /home/vagrant/ansible_collections/checkmk/general/requirements.txt
python3 -m pip install -r /home/vagrant/ansible_collections/checkmk/general/requirements-qa.txt
sudo -u vagrant ansible-galaxy collection install -f -r /home/vagrant/ansible_collections/checkmk/general/requirements.yml
mkdir -p /home/vagrant/ansible_collections/checkmk/general
mkdir -p /etc/apt/keyrings
Expand Down Expand Up @@ -72,6 +73,7 @@ Vagrant.configure("2") do |config|
apt-get -y install python3-pip ca-certificates curl gnupg lsb-release
python3 -m pip install pip --upgrade
python3 -m pip install -r /home/vagrant/ansible_collections/checkmk/general/requirements.txt
python3 -m pip install -r /home/vagrant/ansible_collections/checkmk/general/requirements-qa.txt
python3 -m pip install molecule molecule-plugins[docker]
sudo -u vagrant ansible-galaxy collection install -f -r /home/vagrant/ansible_collections/checkmk/general/requirements.yml
mkdir -p /home/vagrant/ansible_collections/checkmk/general
Expand Down
2 changes: 2 additions & 0 deletions Vagrantfile.vbox
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Vagrant.configure("2") do |config|
apt-get -y install python3-pip ca-certificates curl gnupg lsb-release
python3 -m pip install pip --upgrade
python3 -m pip install -r /vagrant/requirements.txt
python3 -m pip install -r /vagrant/requirements-qa.txt
sudo -u vagrant ansible-galaxy collection install -f -r /vagrant/requirements.yml
mkdir -p /home/vagrant/ansible_collections/checkmk/general
mkdir -p /etc/apt/keyrings
Expand Down Expand Up @@ -55,6 +56,7 @@ Vagrant.configure("2") do |config|
apt-get -y install python3-pip ca-certificates curl gnupg lsb-release
python3 -m pip install pip --upgrade
python3 -m pip install -r /vagrant/requirements.txt
python3 -m pip install -r /vagrant/requirements-qa.txt
python3 -m pip install molecule molecule-plugins[docker]
sudo -u vagrant ansible-galaxy collection install -f -r /vagrant/requirements.yml
mkdir -p /home/vagrant/ansible_collections/checkmk/general
Expand Down
2 changes: 2 additions & 0 deletions changelogs/fragments/fix_folder_module_idempotency.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- Folder module - Fix idempotency when using "attributes" parameter for creating a folder.
3 changes: 3 additions & 0 deletions changelogs/fragments/folder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
minor_changes:
- Folder module - Extend attribute management. Please refer to the module documentation
for more details.
9 changes: 9 additions & 0 deletions changelogs/fragments/lookups.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
minor_changes:
- Lookup modules - Enable usage of ini files, environment and inventory variables
to configure basic settings for the lookup plugins, like e.g., the server_url or site
alongside the authentication options. Refer to the module documentation for details.

known_issues:
- Lookup modules - When using inventory variables to configure e.g., the server_url,
it is not possible to assign other variables to these variables.
This is a limitation of Ansble itself.
5 changes: 5 additions & 0 deletions changelogs/fragments/parents.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
bugfixes:
- Host module - Parents will be parsed properly now.
This means, that parents given as a string will now be parsed as a list of one.
- Folder module - Parents will be parsed properly now.
This means, that parents given as a string will now be parsed as a list of one.
1 change: 1 addition & 0 deletions changelogs/fragments/release_summary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
release_summary: "Reworking the CI, enhancing code quality and improving modules."
4 changes: 4 additions & 0 deletions changelogs/fragments/rule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
minor_changes:
- Rule module - Introduce rule_id to uniquely identify rules.
This ID can be retrieved e.g., using the lookup plugin.
Refer to the module documentation for further details.
2 changes: 2 additions & 0 deletions changelogs/fragments/user.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- User module - Fix bug, where an absent user was created, if 'reset_password' was used.
10 changes: 9 additions & 1 deletion changelogs/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,20 @@
# For changes that are not really scoped (for example, which affect a whole collection), use the following format:
# - Description starting with an uppercase letter and ending with a dot at the very end. Multiple sentences are allowed.

# Tipps:
# You can write multi line changelogs like this:
# - Module name - This is a very long and detailed
# changelog line, so we will split it into several
# lines, just like this.

## Possible keys:
#
# release_summary
# Adds a single line release summary to the changelog.
# breaking_changes
# Changes that break existing playbooks or roles. This includes any change to existing behavior that forces users to update tasks. Displayed in both the changelogs and the Porting Guides.
# Changes that break existing playbooks or roles.
# This includes any change to existing behavior that forces users to update tasks.
# Displayed in both the changelogs and the Porting Guides.
# major_changes
# Major changes to Ansible itself. Generally does not include module or plugin changes. Displayed in both the changelogs and the Porting Guides.
# minor_changes
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: 4.2.0
version: 4.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
2 changes: 1 addition & 1 deletion plugins/doc_fragments/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class ModuleDocFragment(object):
DOCUMENTATION = r"""
options:
server_url:
description: The base url of your Checkmk server.
description: The base url of your Checkmk server including the protocol.
required: true
type: str
site:
Expand Down
Loading
Loading