Forum Discussion
Ansible role best practice for F5
I am deploying f5 by Ansible , but I got a question. For instance, if I want use roles to save system configuration , the module bigip_config is what I need , then I write a role bigip_config, It works . However , what if I want to load system configuration ? Could I put the two task into the same role ? And then how to call them independently ? Or maybe two roles are replaced which are named bigip_config_save and bigip_config_load ?
- tell_316027
Altostratus
roles/bigip_config/tasks/main.yml
-
name: save sys config bigip_config: save: yes
-
name: load sys config deafult bigip_config: reset: yes save: yes
-
Recent Discussions
Related Content
* 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