Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

BIG-IP & Ansible configuration of "External Users"

seamlessfirework
Altocumulus
Altocumulus

Hey gus

I was wondering if I can configure the "External Users" through an Ansible playbook. In the official Ansible documentation I did not find a solution for that.

Screenshot 2023-04-04 at 11.52.14.png

In my case any user is authenticated against a Cisco TACACS+ appliance. If I leave the knob to "No Access" I cannot connect through SSH to the BIG-IP

1 ACCEPTED SOLUTION

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 

 

View solution in original post

4 REPLIES 4

Leslie_Hubertus
Community Manager
Community Manager

Hi @seamlessfirework - @Matt_Mabis can probably help you with this, or maybe @Sebastian_Maniak.

 

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 

 

Thanks Sebastian. Since we are not on F5 DO yet I will give sending commands through Ansible a hit.

It worked out by sending a TMSH command through a playbook. The DO stuff is the next step. Thanks again @Sebastian_Maniak