From 52c9a7af24b284890ee578042260b350dcc8624e Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Thu, 28 Feb 2013 14:02:59 +0100 Subject: [PATCH] Fix references to user.username to be user.name --- docsite/rst/playbooks2.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docsite/rst/playbooks2.rst b/docsite/rst/playbooks2.rst index c3a7302ce5d..1f6717f569b 100644 --- a/docsite/rst/playbooks2.rst +++ b/docsite/rst/playbooks2.rst @@ -1030,11 +1030,11 @@ the user names with the SSH keys, and so on:: --- # file: tasks/user.yml - - name: ensure user ${user.username} exists - action: user state=present name=${user.username} password=${user.password} + - name: ensure user ${user.name} exists + action: user state=present name=${user.name} password=${user.password} - - name: install authorized keys for ${user.username} - action: authorized_key state=present user=${user.username} key="${user.sshkey}" + - name: install authorized keys for ${user.name} + action: authorized_key state=present user=${user.name} key="${user.sshkey}" If you can follow this example, you've done pretty well! It combines most of the language features of example all together. As you can see, there are lots of different ways to load data from