ansible / ansible.builtin / v2.6.17 / module / ovh_ip_loadbalancing_backend Manage OVH IP LoadBalancing backends | "added in version" 2.2 of ansible.builtin" Authors: Pascal HERAUD @pascalheraud preview | supported by communityansible.builtin.ovh_ip_loadbalancing_backend (v2.6.17) — module
pip
Install with pip install ansible==2.6.17
Manage OVH (French European hosting provider) LoadBalancing IP backends
# 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
# 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
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