community / community.general / 2.5.9 / module / ovh_ip_loadbalancing_backend Manage OVH IP LoadBalancing backends Authors: Pascal Heraud (@pascalheraud)community.general.ovh_ip_loadbalancing_backend (2.5.9) — module
Install with ansible-galaxy collection install community.general:==2.5.9
collections: - name: community.general version: 2.5.9
Manage OVH (French European hosting provider) LoadBalancing IP backends
- name: 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
- name: 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 type: str probe: choices: - none - http - icmp - oco default: none description: - Determines the type of probe to use for this backend type: str state: choices: - present - absent default: present description: - Determines whether the backend is to be created/modified or deleted type: str weight: default: 8 description: - Determines the weight for this backend type: int backend: description: - The IP address of the backend to update / modify / delete required: true type: str timeout: default: 120 description: - The timeout in seconds used to wait for a task to be completed. type: int endpoint: description: - The endpoint to use ( for instance ovh-eu) required: true type: str consumer_key: description: - The consumer key to use required: true type: str application_key: description: - The applicationKey to use required: true type: str application_secret: description: - The application secret to use required: true type: str