It doesn’t throw an error message, but the policy is not created either.
Worse: when that policy already exists, it throws an error and doesn’t continue the playbook.
Is there a switch for “–ignore_exists” as in udm? I presumed “state: present” would automatically take care of it…
What’s wrong with the code above, why does it not create that policy?
I’m using UCS: 5.0-7 errata1011 and version 3.1.0 of the univention-ucs_modules
i tested this with version v3.1.3 and had no issues (created policy, modified policy, skipped updating policy (if not required) and removed policy) .
Would it be an option to upgarde the module?
My test code was:
Can you specify in which case you want to have a boolean value?
In all cases i know it has to be string syntax inside the UCR setting.
So test/value: "true" would be the correct approach.
UCS normally uses “configRegistry.is_true()” which cares about different types of “true”.