You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting backup=yes in the icx_config module, the backup file is not created.
Also, the documentation for the module says that the result will include a backup_path string. Instead, a variable called __backup__ is returned which includes the entire text of the switch config.
Browsing the Ansible codebase, it looks like the following ActionModule is supposed to save the __backup__ variable to disk and create the backup_path variable:
When setting
backup=yes
in the icx_config module, the backup file is not created.Also, the documentation for the module says that the result will include a
backup_path
string. Instead, a variable called__backup__
is returned which includes the entire text of the switch config.This appears identical to the following icx bug report on the ansible community git:
ansible-collections/community.network#260
Expected behavior:
backup_path
variable showing where the file was savedActual Behavior:
backup_path
variable is not returned__backup__
variablePlaybook to replicate issue
Result
The backup file is not created, and the actual config is returned raw in the result variable from the module.
The text was updated successfully, but these errors were encountered: