Forum Discussion

Nazir_52641's avatar
Sep 14, 2018

F5 automation using pure iControl REST API and Ansible - Series: Introduction

Introduction :


There are many articles covering F5 and ansible integration using F5 ansible modules. But no articles/details on using Ansible with pure iControl REST API. May be it was intended to use bigip ansible modules with Ansible. This series will be helpful where there is no solution available with existing F5 ansible modules to configure a specific object. There are pros and cons of using direct F5 ansible modules.


Pros :


1) No need to understand iControl REST API structure


2) Easy to use api with specific parameters to create a specific object


Cons :


1) For some modules there is limited functionality based on what is available in any specific Module 2) F5 password has to be put in each and every tasks 3) To create a specific object depends on F5 modules availablity


Note: This series is intended for administrator who should have some hands on coding experience or atleast know the coding concepts


Purpose :


The intended goal of this series is to make the ansible code generic enough that object creation is data driven and not code driven. Change the input data and the ansible scripts should take care of configuring only the required objects.


Details :


Admininstrator should have basic knowledge of below to start with


1) Ansible


    a) Installation         
    b) Running playbook         
    c) Ansible Tasks and Roles         
    d) Ansible variables and scope         
    e) Ansible Inventory         
    f) Ansible uri module

2) iControl REST API


     a) Understandings of iControl REST API
     b) How to retrieve objects using GET
     c) How to create/update object using POST/PUT
     d) How to navigate through REST APIs



1) Install Ansible and F5 dependendies
2) Run your first BIG-IP playbook with F5 ansible modules
3) Understanding variables and Inventory in Ansibles       
4) Understanding of uri module

5) Understanding of iControl REST API       
   iControl REST Home page contains all the required links to understand iControl REST in details. No need to go over the code samples presenented in the series

   iControl REST API Guide for 12.0.0

   iControl API Reference properties of each object with which parameter is mandatory and which is optional

4) Integrations of F5 and ansible 
   This articles covers the link to all articles including how to install ansible and how to start using ansible with existing simple modules

5) On demand F5 related videos in Ansible

No RepliesBe the first to reply