devops-coop / ansible-haproxy

Installs and configure HAProxy
Apache License 2.0
96 stars 97 forks source link

idempotence not met? #23

Closed riemers closed 9 years ago

riemers commented 9 years ago

Forgive me if i see it wrong, but when i run this role again on the same machine it keeps on saying "changed" while its the same config. So in the end i have 13 changes on my host while nothing has changed. Is this because your "building" the config which doesn't have any means to guarantee idempotence?

PierrePaul commented 9 years ago

Exactly, it is sad heh? I guess for this reason alone it would be worth the shot to create an ansible module, but at least this role work and fit most cases.

riemers commented 9 years ago

True, its either this one or a ninja file to set it up. latest ansible does support some haproxy controls now though.