Bug 2065670
Summary: | network - consistently use ansible_managed in configuration files managed by role [rhel-8.7.0] | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | RHEL Program Management Team <pgm-rhel-tools> |
Component: | rhel-system-roles | Assignee: | Rich Megginson <rmeggins> |
Status: | CLOSED ERRATA | QA Contact: | David Jež <djez> |
Severity: | unspecified | Docs Contact: | Mayur Patil <maypatil> |
Priority: | unspecified | ||
Version: | 8.6 | CC: | briasmit, djez, lmiksik, maypatil, nhosoi, rhel-cs-system-management-subsystem-qe, rmeggins, spetrosi, zhguan |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 8.7 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | role:network | ||
Fixed In Version: | rhel-system-roles-1.18.0-1.el8 | Doc Type: | Enhancement |
Doc Text: |
.The Networking System Role now uses the `Ansible managed` comment in its managed configuration files
When using the `initscripts` provider, the Networking System Role now generates commented `ifcfg` files in the `/etc/sysconfig/network-scripts` directory. The Networking role inserts the `Ansible managed` comment using the Ansible standard `ansible_managed` variable. The comment declares that an `ifcfg` file is managed by Ansible, and indicates that the `ifcfg` file should not be edited directly as the Networking role will overwrite the file.
The `Ansible managed` comment is added when the provider is `initscripts`. When using the Networking role with the `nm` (NetworkManager) provider, the `ifcfg` file is managed by NetworkManager and not by the Networking role.
|
Story Points: | --- |
Clone Of: | 2057656 | Environment: | |
Last Closed: | 2022-11-08 09:40:52 UTC | Type: | --- |
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: | 2057656 | ||
Bug Blocks: |
Comment 9
Fedora Update System
2022-05-11 01:18:35 UTC
FEDORA-2022-d6e6c7c37c has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2022-671a5d63e6 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (rhel-system-roles bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2022:7568 |