Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aoscx_backup_config: backing up cli config doesn't work #19

Open
cs-1 opened this issue May 5, 2022 · 0 comments
Open

aoscx_backup_config: backing up cli config doesn't work #19

cs-1 opened this issue May 5, 2022 · 0 comments

Comments

@cs-1
Copy link

cs-1 commented May 5, 2022

We use the following tasks to back up switch configurations for Aruba CX switches:

- name: Fetch JSON backup from switch
  arubanetworks.aoscx.aoscx_backup_config:
    config_name: running-config
    output_file: "{{ inventory_hostname }}.json"
    config_type: json

- name: Fetch CLI backup from switch
  arubanetworks.aoscx.aoscx_backup_config:
    config_name: running-config
    output_file: "{{ inventory_hostname }}.cli"
    config_type: cli

While the first task works as expected, the second task only produces the JSON version of the config, not the cli version. Is this a bug? According to the docs, this should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant