Bug 1978760
Summary: | the postfix role is not idempotent | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Rich Megginson <rmeggins> |
Component: | rhel-system-roles | Assignee: | Rich Megginson <rmeggins> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jakub Haruda <jharuda> |
Severity: | unspecified | Docs Contact: | Eliane Ramos Pereira <elpereir> |
Priority: | unspecified | ||
Version: | 9.0 | CC: | djez, elpereir, jharuda, nhosoi, spetrosi |
Target Milestone: | beta | Keywords: | Triaged |
Target Release: | 9.0 Beta | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | role:postfix | ||
Fixed In Version: | rhel-system-roles-1.4.0-1.el9 | Doc Type: | Bug Fix |
Doc Text: |
.Role tasks no longer change when running the same output
Previously, several of the role tasks would report as `CHANGED` when running the same input once again, even if there were no changes. Consequently, the role was not acting idempotent. To fix the issue, perform the following actions:
* Check if configuration variables change before applying them. You can use the option `--check` for this verification.
* Do not add a `Last Modified: $date` header to the configuration file.
As a result, the role tasks are idempotent.
|
Story Points: | --- |
Clone Of: | 1960375 | Environment: | |
Last Closed: | 2021-12-07 22:04:56 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1957876, 1960375 | ||
Bug Blocks: |