community.hrobot.failover_ip – Manage Hetzner’s failover IPs¶
Note
This plugin is part of the community.hrobot collection (version 1.1.1).
To install it use: ansible-galaxy collection install community.hrobot
.
To use it in a playbook, specify: community.hrobot.failover_ip
.
Parameters¶
See Also¶
See also
- Failover IP documentation
Hetzner’s documentation on failover IPs.
- community.hrobot.failover_ip_info
Retrieve information on failover IPs.
Examples¶
- name: Set value of failover IP 1.2.3.4 to 5.6.7.8
community.hrobot.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.hrobot.failover_ip:
hetzner_user: foo
hetzner_password: bar
failover_ip: 1.2.3.4
state: unrouted
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
state
string
|
success |
Will be
routed or unrouted . |
value
string
|
success |
The value of the failover IP.
Will be
none if the IP is unrouted. |
Authors¶
Felix Fontein (@felixfontein)