emcstack / bonding

Role to configure bonding interfaces
GNU Lesser General Public License v3.0
1 stars 2 forks source link

Role is not idempotent #3

Open kostyrev opened 8 years ago

kostyrev commented 8 years ago

with every run slave interfaces change

--- before: /etc/sysconfig/network-scripts/ifcfg-eth1
+++ after: dynamically generated
@@ -1,8 +1,8 @@
 NAME="eth1"
 DEVICE="eth1"
 BOOTPROTO=none
 ONBOOT=yes
 SLAVE=yes
 MASTER="bond0"
 MTU="1500"
-HWADDR="40:f2:e9:b8:ae:70"
+HWADDR="40:f2:e9:b8:ae:71"

what's the point in specifying HWADDR anyway?

JohnPreston commented 8 years ago

How is it you get the HWADDR value to change ? That sounds odd, I never had that one before. Though, the HWADDR is fairly important to keep track of in case something on the ARP is foobared and you cant find the original HWADDR again.

That is a discussable point.

kostyrev commented 8 years ago

The steps to reproduce are the same as for #1 every time I run ansible-playbook as specified there my ifcfg-files change.

JohnPreston commented 8 years ago

It truly doesn't change for me at all. I have added the option in my branch already to have the same kind of behaviours.