From 3b7280b364b14e5fd6a7d1bec5fbaabd1fd23640 Mon Sep 17 00:00:00 2001 From: ktosiek Date: Sun, 9 Nov 2014 22:40:29 +0100 Subject: [PATCH] guide_rax.rst: fix add_host invocations change `groupname` to `groups`, as per add_host documentation --- docsite/rst/guide_rax.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docsite/rst/guide_rax.rst b/docsite/rst/guide_rax.rst index d00a090fa39..28321ce7fa5 100644 --- a/docsite/rst/guide_rax.rst +++ b/docsite/rst/guide_rax.rst @@ -131,7 +131,7 @@ The rax module returns data about the nodes it creates, like IP addresses, hostn hostname: "{{ item.name }}" ansible_ssh_host: "{{ item.rax_accessipv4 }}" ansible_ssh_pass: "{{ item.rax_adminpass }}" - groupname: raxhosts + groups: raxhosts with_items: rax.success when: rax.action == 'create' @@ -519,7 +519,7 @@ Build a complete webserver environment with servers, custom networks and load ba ansible_ssh_host: "{{ item.rax_accessipv4 }}" ansible_ssh_pass: "{{ item.rax_adminpass }}" ansible_ssh_user: root - groupname: web + groups: web with_items: rax.success when: rax.action == 'create'