From dfd671d60e330196808d068ac682757dfecd73d9 Mon Sep 17 00:00:00 2001 From: Wes Johnson Date: Thu, 3 May 2012 16:54:41 -0700 Subject: [PATCH] change 'name' to a better description for variable example. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 'make a directory' is a bad description, since the command "template …" doesn't actually create a directory. --- rst/playbooks.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rst/playbooks.rst b/rst/playbooks.rst index acc8f24c4fd..7e3abb1b80e 100644 --- a/rst/playbooks.rst +++ b/rst/playbooks.rst @@ -171,7 +171,7 @@ Variables can be used in action lines. Suppose you defined a variable called 'vhost' in the 'vars' section, you could do this:: tasks: - - name: make a directory + - name: create a virtual host file for $vhost action: template src=somefile.j2 dest=/etc/httpd/conf.d/$vhost Those same variables are usable in templates, which we'll get to later.