We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Automating backup with ansible has been a bit challenging with the arubaoss_command module.
When using SCP to copy config and flash backup the controllers prompts for a password and without this option, the copy fails.
Below is a sample playbook to perform this task.
--- - name: Backup Aruba Configuration hosts: wlc gather_facts: false serial: 1 tasks: - name: Create backup on controllers arubaoss_command: commands: - "backup {{ item }}" loop: - config - flash - name: Save backup configuration to disk arubaoss_command: commands: - "copy flash: {{ item.src_file }} scp: {{ item.src_addr }} {{ item.user }} {{ inventory_hostname }}_{{ item.dst_file }}" prompt: "Password:" answer: "{{ backup_pass }}" loop: "{{ backup_vars }}"
The text was updated successfully, but these errors were encountered:
Hello @EarlRamirez thank you for this we've been focusing development on our AOS-CX modules but I've added this as an enhancement!
Sorry, something went wrong.
No branches or pull requests
Automating backup with ansible has been a bit challenging with the arubaoss_command module.
When using SCP to copy config and flash backup the controllers prompts for a password and without this option, the copy fails.
Below is a sample playbook to perform this task.
The text was updated successfully, but these errors were encountered: