bigip_node - Manages F5 BIG-IP LTM nodes

Author:Matt Hite

Synopsis

New in version 1.4.

Manages F5 BIG-IP LTM nodes via iControl SOAP API

Options

parameter required default choices comments
description no
    Node description.
    host yes
      Node IP. Required when state=present and node does not exist. Error when state=absent.
      name no
        Node name
        partition no Common
          Partition
          password yes
            BIG-IP password
            server yes
              BIG-IP host
              state yes present
              • present
              • absent
              Pool member state
              user yes
                BIG-IP username

                Note

                Requires bigsuds

                Examples


                ## playbook task examples:
                
                ---
                # file bigip-test.yml
                # ...
                - hosts: bigip-test
                  tasks:
                  - name: Add node
                    local_action: >
                      bigip_node
                      server=lb.mydomain.com
                      user=admin
                      password=mysecret
                      state=present
                      partition=matthite
                      host="{{ ansible_default_ipv4["address"] }}"
                      name="{{ ansible_default_ipv4["address"] }}"
                
                # Note that the BIG-IP automatically names the node using the
                # IP address specified in previous play's host parameter.
                # Future plays referencing this node no longer use the host
                # parameter but instead use the name parameter.
                # Alternatively, you could have specified a name with the
                # name parameter when state=present.
                
                  - name: Modify node description
                    local_action: >
                      bigip_node
                      server=lb.mydomain.com
                      user=admin
                      password=mysecret
                      state=present
                      partition=matthite
                      name="{{ ansible_default_ipv4["address"] }}"
                      description="Our best server yet"
                
                  - name: Delete node
                    local_action: >
                      bigip_node
                      server=lb.mydomain.com
                      user=admin
                      password=mysecret
                      state=absent
                      partition=matthite
                      name="{{ ansible_default_ipv4["address"] }}"
                

                Note

                Requires BIG-IP software version >= 11

                Note

                F5 developed module ‘bigsuds’ required (see http://devcentral.f5.com)

                Note

                Best run as a local_action in your playbook

                Table Of Contents

                Previous topic

                bigip_monitor_tcp - Manages F5 BIG-IP LTM tcp monitors

                Next topic

                bigip_pool - Manages F5 BIG-IP LTM pools