When using parameter "diff_against = validate_config", the configuration session does not run "rollback clean-config"
This causes the returned "after" value to merge the running-config "before" and provided "intended_config"
The outcome of a diff between "before" and "after" returned value show added lines but not lines that would be removed by a config replace.
This is due to line 592 in "arista.eos/plugins/modules/eos_config.py"
SUMMARY
When using parameter "diff_against = validate_config", the configuration session does not run "rollback clean-config" This causes the returned "after" value to merge the running-config "before" and provided "intended_config"
The outcome of a diff between "before" and "after" returned value show added lines but not lines that would be removed by a config replace.
This is due to line 592 in "arista.eos/plugins/modules/eos_config.py"
I believe this should be set to line
ISSUE TYPE
COMPONENT NAME
module: eos_config parameter: diff_against
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Ubuntu 22.04
STEPS TO REPRODUCE
EXPECTED RESULTS
see added and removed lines if a config replace would be executed
ACTUAL RESULTS
only new lines are showed