community / community.general / 1.3.14 / module / hetzner_failover_ip Manage Hetzner's failover IPs Authors: Felix Fontein (@felixfontein)community.general.hetzner_failover_ip (1.3.14) — module
Install with ansible-galaxy collection install community.general:==1.3.14
collections: - name: community.general version: 1.3.14
Manage Hetzner's failover IPs.
- name: Set value of failover IP 1.2.3.4 to 5.6.7.8 community.general.hetzner_failover_ip: hetzner_user: foo hetzner_password: bar failover_ip: 1.2.3.4 value: 5.6.7.8
- name: Set value of failover IP 1.2.3.4 to unrouted community.general.hetzner_failover_ip: hetzner_user: foo hetzner_password: bar failover_ip: 1.2.3.4 state: unrouted
state: choices: - routed - unrouted default: routed description: - Defines whether the IP will be routed or not. - If set to C(routed), I(value) must be specified. type: str value: description: - The new value for the failover IP address. - Required when setting I(state) to C(routed). type: str timeout: default: 180 description: - Timeout to use when routing or unrouting the failover IP. - Note that the API call returns when the failover IP has been successfully routed to the new address, respectively successfully unrouted. type: int failover_ip: description: The failover IP address. required: true type: str hetzner_user: description: The username for the Robot webservice user. required: true type: str hetzner_password: description: The password for the Robot webservice user. required: true type: str
state: description: - Will be C(routed) or C(unrouted). returned: success type: str value: description: - The value of the failover IP. - Will be C(none) if the IP is unrouted. returned: success type: str