ansible / ansible.builtin / v2.6.0 / module / onyx_mlag_vip Configures MLAG VIP on Mellanox ONYX network devices | "added in version" 2.5 of ansible.builtin" Authors: Samer Deeb (@samerd) preview | supported by communityansible.builtin.onyx_mlag_vip (v2.6.0) — module
pip
Install with pip install ansible==2.6.0
This module provides declarative management of MLAG virtual IPs on Mellanox ONYX network devices.
- name: configure mlag-vip onyx_mlag_vip: ipaddress: 50.3.3.1/24 group_name: ansible-test-group mac_address: 00:11:12:23:34:45
delay: default: 12 description: - Delay interval, in seconds, waiting for the changes on mlag VIP to take effect. state: choices: - present - absent description: - MLAG VIP state. ipaddress: description: - Virtual IP address of the MLAG. Required if I(state=present). group_name: description: - MLAG group name. Required if I(state=present). mac_address: description: - MLAG system MAC address. Required if I(state=present).
commands: description: The list of configuration mode commands to send to the device. returned: always sample: - mlag-vip ansible_test_group ip 50.3.3.1 /24 force - no mlag shutdown type: list