Forum Discussion
BIG-IP & Ansible configuration of "External Users"
- Apr 05, 2023
Yes you can, since there is no ansible module for it you can use the two follow options.
1. You can use the F5 DO module and deploy the base configuration using f5 declarative objects. https://clouddocs.f5.com/products/extensions/f5-declarative-onboarding/latest/declarations/auth.html
Then use ansbile to send an f5 DO to the device. (Remember you don't need the entire Config, you can split the files up and just have a tacacs+ Config).
2. Using ansbile you can just send tmsh command. Just add the commands that you would do in the cli using bigip_command
- name: command bigip_command: commands: - list sys crypto
Yes you can, since there is no ansible module for it you can use the two follow options.
1. You can use the F5 DO module and deploy the base configuration using f5 declarative objects. https://clouddocs.f5.com/products/extensions/f5-declarative-onboarding/latest/declarations/auth.html
Then use ansbile to send an f5 DO to the device. (Remember you don't need the entire Config, you can split the files up and just have a tacacs+ Config).
2. Using ansbile you can just send tmsh command. Just add the commands that you would do in the cli using bigip_command
- name: command
bigip_command:
commands:
- list sys crypto
- seamlessfireworkApr 06, 2023Cirrus
Thanks Sebastian. Since we are not on F5 DO yet I will give sending commands through Ansible a hit.
- seamlessfireworkApr 12, 2023Cirrus
It worked out by sending a TMSH command through a playbook. The DO stuff is the next step. Thanks again Sebastian_Maniak
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