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.1.0 #507

Merged
merged 104 commits into from
Dec 21, 2023
Merged
Changes from 1 commit
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
4d1fdfd
Initial versions of the rule/rules/ruleset/rulesets looku plugins.
lgetwan Nov 20, 2023
7bf96a5
sanity 1
lgetwan Nov 20, 2023
6101ca1
Improved documentation inside modules.
lgetwan Nov 20, 2023
9ac9e72
Add labeler rules and update README.
robin-checkmk Nov 20, 2023
dbf52ec
Merge branch 'feature/lookup-rules' of github.com:tribe29/ansible-col…
lgetwan Nov 20, 2023
f293199
sanity 2
lgetwan Nov 20, 2023
9024dec
Integration tests for rulesets lookup module.
lgetwan Nov 22, 2023
f30feb9
Debug Integration tests for rulesets lookup module.
lgetwan Nov 22, 2023
46c8a38
Debug Integration tests for rulesets lookup module.
lgetwan Nov 22, 2023
33d7419
Integration tests for rulesets lookup module.
lgetwan Nov 22, 2023
bd993b7
Integration tests for rulesets lookup module.
lgetwan Nov 22, 2023
1f1fbff
Integration tests for rulesets lookup module.
lgetwan Nov 22, 2023
8473c23
Integration tests for rulesets lookup module.
lgetwan Nov 22, 2023
ef1fca7
Integration tests for rulesets lookup module.
lgetwan Nov 22, 2023
58b833f
Integration tests for rule lookup modules.
lgetwan Nov 22, 2023
e159479
Integration tests for rule lookup modules.
lgetwan Nov 22, 2023
5bcb5cb
Integration tests for rule lookup modules.
lgetwan Nov 22, 2023
e2aae19
Integration tests for rule lookup modules.
lgetwan Nov 22, 2023
281ea2e
Eliminated the _terms parameter and introduced properly named ones.
lgetwan Dec 1, 2023
d823e73
Minor cleanups.
robin-checkmk Dec 1, 2023
98f5535
Add labeler rules and update README.
robin-checkmk Nov 20, 2023
c629e62
sanity 2
lgetwan Nov 20, 2023
c1d07e8
Integration tests for rulesets lookup module.
lgetwan Nov 22, 2023
092915d
Debug Integration tests for rulesets lookup module.
lgetwan Nov 22, 2023
d69b07e
Debug Integration tests for rulesets lookup module.
lgetwan Nov 22, 2023
8a3a6d4
Integration tests for rulesets lookup module.
lgetwan Nov 22, 2023
6acc008
Integration tests for rulesets lookup module.
lgetwan Nov 22, 2023
2a62d70
Integration tests for rulesets lookup module.
lgetwan Nov 22, 2023
7700a31
Integration tests for rulesets lookup module.
lgetwan Nov 22, 2023
6f9089b
Integration tests for rulesets lookup module.
lgetwan Nov 22, 2023
726de23
Integration tests for rule lookup modules.
lgetwan Nov 22, 2023
7ff447f
Integration tests for rule lookup modules.
lgetwan Nov 22, 2023
2c38e89
Integration tests for rule lookup modules.
lgetwan Nov 22, 2023
9266a24
Integration tests for rule lookup modules.
lgetwan Nov 22, 2023
fc9e9f4
Eliminated the _terms parameter and introduced properly named ones.
lgetwan Dec 1, 2023
ae4abf8
Minor cleanups.
robin-checkmk Dec 1, 2023
f9ae8ca
Merge branch 'feature/lookup-rules' of github.com:tribe29/ansible-col…
lgetwan Dec 5, 2023
f6840da
Merge branch 'devel' into feature/lookup-rules
lgetwan Dec 5, 2023
e8ac99e
debugging integration tests
lgetwan Dec 5, 2023
25e22ae
debugging integration tests
lgetwan Dec 5, 2023
000f459
debugging integration tests
lgetwan Dec 5, 2023
2091289
debugging integration tests
lgetwan Dec 5, 2023
4462785
debugging integration tests
lgetwan Dec 5, 2023
b45a1ed
debugging integration tests
lgetwan Dec 5, 2023
2df5fb0
debugging integration tests
lgetwan Dec 6, 2023
5030885
debugging integration tests
lgetwan Dec 6, 2023
0bbba65
debugging integration tests
lgetwan Dec 6, 2023
f70fee4
debugging integration tests
lgetwan Dec 6, 2023
6dcf4e0
debugging integration tests
lgetwan Dec 6, 2023
18131e2
debugging integration tests
lgetwan Dec 6, 2023
94e2e62
debugging integration tests
lgetwan Dec 6, 2023
35f0fcb
debugging integration tests
lgetwan Dec 6, 2023
f9dd37e
debugging integration tests
lgetwan Dec 6, 2023
6051719
Initial push of KVM Vagrantfile
Max-checkmk Dec 7, 2023
be61f98
debugging integration tests
lgetwan Dec 7, 2023
a5041dc
debugging integration tests
lgetwan Dec 7, 2023
10d91e9
debugging integration tests - gave up, applied workaround
lgetwan Dec 7, 2023
95d73b5
debugging integration tests - gave up, applied workaround
lgetwan Dec 7, 2023
6dc0440
debugging integration tests - gave up, applied workaround
lgetwan Dec 7, 2023
1f2f43c
Bump Checkmk versions.
robin-checkmk Dec 8, 2023
fe52e58
Migrate molecule box and uncomment potentially unnecessary option on …
robin-checkmk Dec 8, 2023
1329378
Merge branch 'devel' of github.com:Checkmk/ansible-collection-checkmk…
robin-checkmk Dec 11, 2023
62897e0
Merge branch 'devel' of github.com:Checkmk/ansible-collection-checkmk…
robin-checkmk Dec 11, 2023
c36eefa
Create dedicated files per hypervisor.
robin-checkmk Dec 11, 2023
d3b7249
Update Vagrantfile to use KVM.
robin-checkmk Dec 11, 2023
8247d17
Merge branch 'devel' of github.com:Checkmk/ansible-collection-checkmk…
robin-checkmk Dec 15, 2023
1885f44
Fix docs.
robin-checkmk Dec 15, 2023
611f94b
Added list comprehension also for create
Max-checkmk Dec 18, 2023
612c1ee
Merge branch 'devel' of github.com:Checkmk/ansible-collection-checkmk…
robin-checkmk Dec 18, 2023
305cf39
Fix indentation in module examples.
robin-checkmk Dec 18, 2023
90fe0ef
Add Makefile.
robin-checkmk Dec 18, 2023
db78282
Fix idempotency.
robin-checkmk Dec 18, 2023
cb065d9
Fix site dis/enablement and make it idempotent.
robin-checkmk Dec 18, 2023
f2540e7
Cleanup Vagrantfile options.
robin-checkmk Dec 18, 2023
67e7025
Add Makefile.
robin-checkmk Dec 19, 2023
87ef7b8
Update Makefile.
robin-checkmk Dec 19, 2023
3767efd
The rules lookup now provides a parameter to regex-search for certain…
lgetwan Dec 20, 2023
fcd0613
Merge branch 'devel' into Vagrantfile_kvm
robin-checkmk Dec 20, 2023
f28e59c
Add Vagrantfile and backup to .gitignore.
robin-checkmk Dec 20, 2023
6b84e8d
Reintroduce membacking parameters.
robin-checkmk Dec 20, 2023
330228a
Update Makefile.
robin-checkmk Dec 20, 2023
8151f08
Cleaner code and better tests
Max-checkmk Dec 20, 2023
16d97b0
Added customer parameter for update
Max-checkmk Dec 20, 2023
69dafed
Merge pull request #493 from Checkmk/Vagrantfile_kvm
robin-checkmk Dec 20, 2023
088f0a6
Merge pull request #476 from Checkmk/feature/lookup-rules
robin-checkmk Dec 20, 2023
b2d734d
Merge pull request #506 from Checkmk/fix_passwordmodule
robin-checkmk Dec 21, 2023
8a28441
Improvements for cme in module and tests
Max-checkmk Dec 21, 2023
25cd785
black_improvement
Max-checkmk Dec 21, 2023
d6a3cd5
Removed bracket in test
Max-checkmk Dec 21, 2023
769862f
Fix typo.
robin-checkmk Dec 21, 2023
adddbe5
Enable shared folders through virtio.
robin-checkmk Dec 21, 2023
f13baca
Improve Makefile structure.
robin-checkmk Dec 21, 2023
2955199
Extra passwords for cme failtest
Max-checkmk Dec 21, 2023
cc13265
Improvements for cme in module and tests
Max-checkmk Dec 21, 2023
7453386
black_improvement
Max-checkmk Dec 21, 2023
d8c846c
Removed bracket in test
Max-checkmk Dec 21, 2023
1d4bd69
Extra passwords for cme failtest
Max-checkmk Dec 21, 2023
8cf802f
Merge branch 'passwordmodule_cme_improvements' of github.com:tribe29/…
Max-checkmk Dec 21, 2023
8223f3e
Fix labeller.
robin-checkmk Dec 21, 2023
6a2cb03
Merge pull request #509 from Checkmk/passwordmodule_cme_improvements
robin-checkmk Dec 21, 2023
f820430
Merge branch 'devel' of github.com:Checkmk/ansible-collection-checkmk…
robin-checkmk Dec 21, 2023
6e96132
Bump Checkmk versions.
robin-checkmk Dec 21, 2023
6a1e166
Bump collection version.
robin-checkmk Dec 21, 2023
8d3e653
Add changelogs.
robin-checkmk Dec 21, 2023
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
Prev Previous commit
Next Next commit
Integration tests for rule lookup modules.
lgetwan committed Nov 22, 2023
commit 5bcb5cb85274aa9f11823c5e3abe1c80cb039379
2 changes: 1 addition & 1 deletion tests/integration/targets/lookup_rules/tasks/test.yml
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@
- name: "{{ outer_item.version }} - {{ outer_item.edition | upper }} - compare rules with ansible data."
ansible.builtin.assert:
# For each rule that we created, check, if the comment is identical
that: "rules[0].properties.comment == item.rule.properties.comment"
that: "rules[0].extensions.properties.comment == item.rule.properties.comment"
vars:
rules: "{{ lookup('checkmk.general.rules',
item.ruleset,
20 changes: 1 addition & 19 deletions tests/integration/targets/lookup_rules/vars/main.yml
Original file line number Diff line number Diff line change
@@ -57,25 +57,7 @@ checkmk_rules:
folder: "/"
position: "bottom"
conditions: {
"host_labels": [{'key': 'cmk/os_family', 'operator': 'is_not', 'value': 'linux'}],
"host_tags": [],
"service_labels": []
}
properties: {
"comment": "{{ ansible_date_time.iso8601 }} - Ansible managed",
"description": "",
"disabled": false
}
value_raw: "{'levels': (1.0, 2.0)}"

- name: "CPU - Load."
ruleset: "checkgroup_parameters:cpu_load"
rule:
location:
folder: "/"
position: "bottom"
conditions: {
"host_labels": [{'key': 'cmk/os_family', 'operator': 'is', 'value': 'linux'}],
"host_labels": [],
"host_tags": [],
"service_labels": []
}