Bug 2057656
Summary: | network - consistently use ansible_managed in configuration files managed by role | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Noriko Hosoi <nhosoi> | |
Component: | rhel-system-roles | Assignee: | Rich Megginson <rmeggins> | |
Status: | CLOSED ERRATA | QA Contact: | David Jež <djez> | |
Severity: | unspecified | Docs Contact: | Malinga <mtembo> | |
Priority: | unspecified | |||
Version: | 8.6 | CC: | briasmit, djez, lmiksik, maypatil, mtembo, nhosoi, rhel-cs-system-management-subsystem-qe, rmeggins, spetrosi | |
Target Milestone: | rc | |||
Target Release: | 8.6 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | role:network | |||
Fixed In Version: | rhel-system-roles-1.16.1-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: | 2044640 | |||
: | 2065670 (view as bug list) | Environment: | ||
Last Closed: | 2022-05-10 14:13:20 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: | 2044640, 2057657, 2057661, 2057662 | |||
Bug Blocks: | 2047504, 2047506, 2054363, 2054364, 2054365, 2054367, 2054368, 2054369, 2057645, 2057647, 2057651, 2057652, 2064690, 2065670 |
Description
Noriko Hosoi
2022-02-23 19:43:50 UTC
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/RHBA-2022:1896 |