Closed itcultus closed 4 years ago
notes from triage: this might be whitespace related. I will try to reproduce this. did you tried using a file instead of an inline template?
No, I can try though. I will return next week.
so it was not the whitespace, but the audit_comment
param. investigating why.
so the api always returns audit_comment: null
and I beginning to think it should not be part of the entity at all. the comment is properly stored in the audit accompanying the change, but it's not really part of the template.
opened https://projects.theforeman.org/issues/28332 and https://projects.theforeman.org/issues/28333 to track that in foreman and rex, #611 contains a fix for us.
SUMMARY
I use the under subject module in order to create/update/delete my provisioning templates. I have them as variables in a roles var file.
ISSUE TYPE
ANSIBLE VERSION
KATELLO/FOREMAN VERSION
APYPIE VERSION
STEPS TO REPRODUCE
defaults/main.yml:
EXPECTED RESULTS
I would expect OK on the second run of this playbook.
ACTUAL RESULTS
Playbook recap says "changed: 1"