ANSIBLE AUTOMATION FOR F5 SOLUTIONS & USE CASES

OVERVIEW

The use cases templates are built for the F5 Automation Sandbox ennvironment. To run the use-cases, users must use the F5 Ansible provisioner and stand-up the F5 automation sandbox environment.

With F5 Automation provisioner and these scenario use cases, users can/will be able to

  • Test common deployment scenarios through Automation with Ansible
  • Fork instances of code to develop their own plugins and automation playbooks
  • Provide feedback on existing and new use cases that are relevant to everyday work

Note

This content is built by F5 Business Development organization. New content will be added periodically to provide additional automation senarios. Please open a github issue for any new feature request**

HOW TO USE

_images/executing-templates.png

1. PROVISION INFRASTRUCTURE

2. SETUP ENVIRONMENT & ANSIBLE INVENTORY FILE

  1. Login to the Ansible Host (studentX-ansible) provided by the F5 Ansible AWS Provisioner

    The Workbench information that is stored in a local directory named after the workshop after the provisioner is run

    • Example: <<workshop_name>>/instructor_inventory.txt

    Sample inventory.txt file:

    [all:vars]
    ansible_port=22
    
    [student1]
    student1-ansible ansible_host=34.219.251.xxx ansible_user=centos #Ansible host/control node
    student1-f5 ansible_host=52.39.228.xxx ansible_user=admin        #BIG-IP
    student1-host1 ansible_host=52.43.153.xxx ansible_user=centos    #Backend application server1
    student1-host2 ansible_host=34.215.176.xxx ansible_user=centos   #Backend application server2
    
  2. Download the f5_ansible_use_cases Repo on the Ansible host

    • IP: Ansible control node IP from the inventory.txt file
    • username: studentx
    • password: provided while running the provisioner in f5_vars.yml
    ssh studentx@34.219.251.xxx
    cd ~/
    git clone https://github.com/f5devcentral/FAS-ansible-use-cases
    
    _images/Github-960.gif

Note

The repo has been cloned to the ansible control node. Browse through readme of each use case in the next section to execute the playbooks

  1. Login to the BIG-IP (studentX-f5) provided by the F5 Ansible AWS Provisioner

    Sample entry in inventory file: student1-f5 ansible_host=52.39.228.xxx

    • IP: BIG-IP from the inventory.txt file
    • Port: 8443
    • username: admin
    • password: provided while running the provisioner in f5_vars.yml
    https://52.39.228.xxx:8443
    

3. RUN USE CASE TEMPLATES

Click ‘Next’ below for use-cases templates

Note

Keep the BIG-IP login handy to login and validate configuration when use cases are executed

Support

This project is a community effort to promote Network and Security automation and is maintained by F5 Business Development (BD). For anyfeature requests or issues, feel free to open an issue and we will give our best effort to address it.

Note

Need help with automating use cases not present here - Open a request