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
To my understanding, exos_config and exos_facts only represent and let you manipulate or make backups of the current active (running) config.
For my use case I'd like to see the same possibilities for the saved (startup) config.
E.g.
Make a backup of the current startup config via exos_config
Get current startup config via exos_facts
ISSUE TYPE
Feature Idea
COMPONENT NAME
exos_config
exos_facts
ADDITIONAL INFORMATION
# use of exos_facts
- community.network.exos_facts:
gather_subset: configregister: exos_facts
- ansible.builtin.debug:
msg:
- "{{ exos_facts.ansible_facts.ansible_net_config_startup }}"
- "{{ exos_facts.ansible_facts.ansible_net_config_active }}"# use of exos_config
- community.network.exos_config:
backup: yesbackup_options:
filename: backup_startup.cfgdir_path: /home/userconfig: startup
Thanks a lot
The text was updated successfully, but these errors were encountered:
ng-bsy
changed the title
Support for startup config in exos_config & exos_facts
Feature: Support for startup config in exos_config & exos_facts
Jan 4, 2023
For now I found a way, using netcommon, to do a manual backup of the startup config, but nontheless would it be nice to have the official modules support it:
@ng-bsy the task you posted looks like it has a simple interface, hasn't it?
Maybe rather than writing a new piece of code someone needs to maintain, would it be good just to put info about your solutions in related modules, e.g. in DOCUMENTATION and EXAMPLES sections?
Something like:
SUMMARY
To my understanding,
exos_config
andexos_facts
only represent and let you manipulate or make backups of the current active (running) config.For my use case I'd like to see the same possibilities for the saved (startup) config.
E.g.
exos_config
exos_facts
ISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION
Thanks a lot
The text was updated successfully, but these errors were encountered: