network: Document network_vip_interfaces usage
This commit is contained in:
parent
43c4602ed4
commit
87001613ed
1 changed files with 27 additions and 0 deletions
27
roles/network/README.md
Normal file
27
roles/network/README.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
## Ansible role: network
|
||||
|
||||
### VIP interfaces
|
||||
|
||||
VIP (virtual IP address) are defined using nework_vip_interfaces variable.
|
||||
Implementation is operating system specific itself. Currently OpenBSD uses
|
||||
CARP (Command Address Redundancy Protocol) and Linux uses VRRP (Virtual
|
||||
Router Redundancy Protocol) with keepalived daemon.
|
||||
|
||||
Parameters:
|
||||
|
||||
* device: physical network device
|
||||
* vhid: router/host ID
|
||||
* ipaddr: virtual ip address
|
||||
* netmask: netmask for virtual ip address (optional on Linux)
|
||||
* pass: password for auththenticating advertisements
|
||||
* priority: used for elections higher value is preferred master
|
||||
value can be between 0 and 240 (optional)
|
||||
|
||||
Example:
|
||||
|
||||
network_vip_interfaces:
|
||||
- device: eth0
|
||||
- vhid: 1
|
||||
- ipaddr: 192.0.2.1
|
||||
- netmask: 255.255.255.0
|
||||
- pass: secret
|
Loading…
Add table
Reference in a new issue