Code Monkey home page Code Monkey logo

declarative_demo_f5's Introduction

Description

This is an example of deploying F5s Declarative Onboarding (DO) and Application Services 3 (AS3) Extensions via Ansible to provision a BIG-IP in a declarative manner.

Output

High level playbook flow:

  • Install Declarative Onboarding
  • Install App Services 3
  • POST to DO (onboard BIG-IP)
  • POST to AS3 (LTM Config)
  • POST to AS3 (GSLB Config)

File Structure

├── ansible.cfg                                              # Settings for Ansible
├── declarative_demo.yaml                                    # Playbook
├── files                                                    # Extensions to be installed
│   ├── f5-appsvcs-<version>.noarch.rpm
│   └── f5-declarative-onboarding-<version>.noarch.rpm
├── host_vars                                                # Folder representing each device
│   └── bigip
│       ├── apps.json                                        # AS3 LTM Payload
│       ├── do.json                                          # DO Payload
│       ├── gslb.json                                        # AS3 GSLB Payload
│       ├── vars.yaml                                        # Connection Params for "bigip"
│       └── vault.yaml                                       # Password (should use vault to encrypt)
└── hosts

Setup

The ansible playbook has a hosts file with a single endpoint, bigip. It assumes that the device is already bootstrapped and reachable via its mgmt IP.

  • Update vars.yaml & vault.yaml under the bigip folder to reflect your environments connection details.
  • Update the hosts file with the name of the device.
  • Update do.json with desired Onboard settings.
  • Update apps.json and gslb.json with desired App configs.
  • Download and place the desired RPM version of both DO and AS3 in the files folder (the playbook will pull the file name based on naming standards).

Run the Playbook

Run the following command from the root directory where App1.yaml is your edited variable file.

ansible-playbook declarative_demo.yaml

declarative_demo_f5's People

Contributors

codygreen avatar focrensh avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.