ansible-role-interfaces icon indicating copy to clipboard operation
ansible-role-interfaces copied to clipboard

[RedHat] Warn about stale ifcfg files

Open priteau opened this issue 6 years ago • 1 comments

On RedHat systems, this role doesn't manage existing ifcfg files that don't match active interface names. This can cause conflicts on reboot when the OS applies all ifcfg files, including stale ones.

Could we at least warn about their presence?

priteau avatar Nov 19 '19 17:11 priteau

It's a nice idea. There are a few challenges:

  • There could be ifcfg files legitimately not managed by the role, and we don't have any way to detect which ones we generated.
  • It's not easy to get a warning message to users that they will see in Ansible.

markgoddard avatar Nov 22 '19 09:11 markgoddard