Forum Discussion
PG0581
Cirrus
Nov 20, 2018[Ansible] Restore BigIP configuration in JSON format
If I run the below task in a playbook to backup an LTM's configuration and have the output stored in a file (being in JSON format), am I easily able to take this and upload back onto the LTM? If so, how would I go about doing this?
- name: Backup LTM Configuration
bigip_command:
server: "{{ inventory_hostname }}"
user: "{{ remote_username }}"
password: "{{ remote_passwd }}"
commands:
- "run util bash -c 'cat /config/bigip.conf'"
validate_certs: no
No RepliesBe the first to reply
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects