ansible.builtin.ovh_ip_loadbalancing_backend (v2.9.27) — module

Manage OVH IP LoadBalancing backends

| "added in version" 2.2 of ansible.builtin"

Authors: Pascal Heraud (@pascalheraud)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Manage OVH (French European hosting provider) LoadBalancing IP backends


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Adds or modify the backend '212.1.1.1' to a
# loadbalancing 'ip-1.1.1.1'
- ovh_ip_loadbalancing:
    name: ip-1.1.1.1
    backend: 212.1.1.1
    state: present
    probe: none
    weight: 8
    endpoint: ovh-eu
    application_key: yourkey
    application_secret: yoursecret
    consumer_key: yourconsumerkey
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Removes a backend '212.1.1.1' from a loadbalancing 'ip-1.1.1.1'
- ovh_ip_loadbalancing:
    name: ip-1.1.1.1
    backend: 212.1.1.1
    state: absent
    endpoint: ovh-eu
    application_key: yourkey
    application_secret: yoursecret
    consumer_key: yourconsumerkey

Inputs

    
name:
    description:
    - Name of the LoadBalancing internal name (ip-X.X.X.X)
    required: true

probe:
    choices:
    - none
    - http
    - icmp
    - oco
    default: none
    description:
    - Determines the type of probe to use for this backend

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Determines whether the backend is to be created/modified or deleted

weight:
    default: 8
    description:
    - Determines the weight for this backend

backend:
    description:
    - The IP address of the backend to update / modify / delete
    required: true

timeout:
    default: 120
    description:
    - The timeout in seconds used to wait for a task to be completed.

endpoint:
    description:
    - The endpoint to use ( for instance ovh-eu)
    required: true

consumer_key:
    description:
    - The consumer key to use
    required: true

application_key:
    description:
    - The applicationKey to use
    required: true

application_secret:
    description:
    - The application secret to use
    required: true