From 7f884ae09d64074ada632993d52de2bc03d88a29 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Wed, 17 Jun 2020 16:43:43 +0200 Subject: [PATCH] Update simple bond example --- examples/bond_simple.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/examples/bond_simple.yml b/examples/bond_simple.yml index cd88676..4ca9811 100644 --- a/examples/bond_simple.yml +++ b/examples/bond_simple.yml @@ -3,31 +3,34 @@ - hosts: network-test vars: network_connections: - - # Create a bond master + # Specify the bond profile - name: bond0 state: up type: bond interface_name: bond0 + # ip configuration (optional) + ip: + address: + - "192.0.2.24/24" + - "2001:db8::23/64" # bond configuration settings: (optional) bond: mode: active-backup miimon: 110 - # enslave an ethernet to the bond - - name: slave1 + # add an ethernet profile to the bond + - name: member1 state: up type: ethernet interface_name: eth1 master: bond0 - # enslave a second ethernet to the bond - - name: slave2 + # add a second ethernet profile to the bond + - name: member2 state: up type: ethernet interface_name: eth2 master: bond0 - roles: - linux-system-roles.network ...