Commit Graph

16 Commits (2dda9d334306b59e527729b1f45d230269ec75a1)

Author SHA1 Message Date
Gerrit Germis f61878fa80 fail when backend host is not found (#1385) 2016-12-08 11:34:19 -05:00
Matt Martz 8c14013b95 Fix tabbed indentation in network/haproxy.py 2016-12-08 11:33:40 -05:00
autotune fa852c14fe Fixed bug to recognize haproxy changes 2016-12-08 11:33:39 -05:00
Jeff Geerling 0500cf602e Make HAProxy module documentation a little easier to read. 2016-12-08 11:33:01 -05:00
Gerrit Germis 450186fe45 wait_interval default value did not match the documented value 2016-12-08 11:32:54 -05:00
Gerrit Germis c35e70953d specify int parameter types for wait_interval and wait_retries 2016-12-08 11:32:54 -05:00
Gerrit Germis 47633753db added version_added: "2.0" to new parameters 2016-12-08 11:32:51 -05:00
Gerrit Germis c659f19e25 allow wait, wait_retries and wait_interval parameters for haproxy module. This allows the haproxy to wait for status "UP" when state=enabled and status "MAINT" when state=disabled 2016-12-08 11:32:51 -05:00
Greg DeKoenigsberg c65a612d1f Changes to author formatting, remove emails 2016-12-08 11:32:51 -05:00
James Barwell ce349b6c3d Fix argument parsing to module constructor
- Change to remove kwargs in a97d1016dc77186de8ad05704b6b4c141c005409
  did not remove arguments passed in to the constructor.
2016-12-08 11:32:25 -05:00
Brian Coca baf514957c moved version added 2016-12-08 11:32:22 -05:00
Brian Coca 3ef53f92eb minor cleanup, removing unused/redundant code, cleaned some comments, slight reformating in class to remove kwargs 2016-12-08 11:32:22 -05:00
Ravi Bhure 7e83da3480 Recorded the changes suggested by brian coca 2016-12-08 11:32:22 -05:00
Ravi Bhure e0f0cc4049 used ansible conventions to use trigered action ==> state, now only two states are available enabled/disabled_ get weight for backend server, is default behavior for both state, supports set weight while enable server in lb pool 2016-12-08 11:32:22 -05:00
Ravi Bhure a1c5149de3 Instead of action [enable_server,disable_server] we prefer to use state [enabled,disabled] [FIXED] misplaced the checkmode support (#L146) [FIXED] no need to check if host is not set as the argument spec (#L138), it should already complain about that [FIXED] 2016-12-08 11:32:22 -05:00
Ravi Bhure 6edde18f90 updated version 1.9 and moved haproxy module to network category 2016-12-08 11:32:22 -05:00