From fd959a8b7c7e3329432d103fa66cab06ce526273 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Thu, 3 Oct 2013 09:43:56 -0500 Subject: [PATCH 1/2] Move rax_clb_nodes to rax_clb --- library/cloud/{rax_clb_nodes => rax_clb} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename library/cloud/{rax_clb_nodes => rax_clb} (100%) diff --git a/library/cloud/rax_clb_nodes b/library/cloud/rax_clb similarity index 100% rename from library/cloud/rax_clb_nodes rename to library/cloud/rax_clb From c56659a2a87a49ad8e95013a7ed1750f87750839 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Thu, 3 Oct 2013 09:45:01 -0500 Subject: [PATCH 2/2] Update references for rax_clb_nodes to use rax_clb --- CHANGELOG.md | 2 +- library/cloud/rax_clb | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51cf17a4d2..4b15f4abca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ Highlighted new features: New modules: * cloud:ec2_eip -- manage AWS elastic IP's -* cloud:rax_clb_nodes -- manage Rackspace cloud load balancers +* cloud:rax_clb -- manage Rackspace cloud load balancers * system: firewalld -- manage the firewalld configuration * system: host -- manage `/etc/hosts` file entries * system: modprobe -- manage kernel modules on systems that support modprobe/rmmod diff --git a/library/cloud/rax_clb b/library/cloud/rax_clb index 350abff61d..32736f8b60 100644 --- a/library/cloud/rax_clb +++ b/library/cloud/rax_clb @@ -16,7 +16,7 @@ DOCUMENTATION = ''' --- -module: rax_clb_nodes +module: rax_clb short_description: add, modify and remove nodes from a Rackspace Cloud Load Balancer description: - Adds, modifies and removes nodes from a Rackspace Cloud Load Balancer @@ -107,7 +107,7 @@ notes: EXAMPLES = ''' # Add a new node to the load balancer - local_action: - module: rax_clb_nodes + module: rax_clb load_balancer_id: 71 address: 10.2.2.3 port: 80 @@ -118,7 +118,7 @@ EXAMPLES = ''' # Drain connections from a node - local_action: - module: rax_clb_nodes + module: rax_clb load_balancer_id: 71 node_id: 410 condition: draining @@ -127,7 +127,7 @@ EXAMPLES = ''' # Remove a node from the load balancer - local_action: - module: rax_clb_nodes + module: rax_clb load_balancer_id: 71 node_id: 410 state: absent