Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-65758

fix: Prevent interface definitions overriding 'changed' value when other elements are changed

    • rhel-sst-system-roles
    • 0
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Bug Fix
    • Hide
      Cause: The module was replacing the `changed` value with `False` when using `interface` and the interface exists.

      Consequence: The role reported `changed: False` even when there were changes, and `forward_ports` were not being saved as permanent.

      Fix: Ensure the `changed` value is not reset to `False` in this case.

      Result: The role reports `changed: True` when there are changes, and `forward_ports` settings are persistent.

      This fixes #234
      Show
      Cause: The module was replacing the `changed` value with `False` when using `interface` and the interface exists. Consequence: The role reported `changed: False` even when there were changes, and `forward_ports` were not being saved as permanent. Fix: Ensure the `changed` value is not reset to `False` in this case. Result: The role reports `changed: True` when there are changes, and `forward_ports` settings are persistent. This fixes #234
    • Proposed
    • None

      Cause: The module was replacing the `changed` value with `False` when using `interface` and the interface exists.

      Consequence: The role reported `changed: False` even when there were changes, and `forward_ports` were not being saved as permanent.

      Fix: Ensure the `changed` value is not reset to `False` in this case.

      Result: The role reports `changed: True` when there are changes, and `forward_ports` settings are persistent.

      This fixes #234

              rmeggins@redhat.com Richard Megginson
              rmeggins@redhat.com Richard Megginson
              Richard Megginson Richard Megginson
              David Jez David Jez
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: