[BUG] value_raw is translated wrongly while creating a rule with checkmk.general.rule: #523
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
module:rule
This affects the rule module
Describe the bug
We are creating rules via a loop, with a vars file. The code for creating the rule:
The item from the loop that fails:
When we run this with -vvv we can see the issue happening, value_raw becomes:
The issue is actually with the ( and ) in the service_filters. They get changed to [ and ]
Component Name
Component Name: rule
Ansible Version
Checkmk Version and Edition
Checkmk Enterprise Edition 2.2.0p16
Collection Version
To Reproduce
Steps to reproduce the behavior kind of described in the description above.
Expected behavior
The rule gets created, the ( and ) don't get translated / replaced in the value_raw.
Actual behavior
Rule creation fails, the ( and ) get translated / replaced in the value_raw.
The text was updated successfully, but these errors were encountered: