From 0bb145af407f4747f495f2f08d376400ca233e76 Mon Sep 17 00:00:00 2001 From: Chad Ostrowski Date: Sun, 21 Apr 2013 13:45:45 -0300 Subject: [PATCH] Mention vars_files before the Roles section The Roles section assumes some familiarity with vars_files, which this note attempts to briefly provide. --- docsite/latest/rst/playbooks.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docsite/latest/rst/playbooks.rst b/docsite/latest/rst/playbooks.rst index 3eccc2e410..737b6061f7 100644 --- a/docsite/latest/rst/playbooks.rst +++ b/docsite/latest/rst/playbooks.rst @@ -136,6 +136,11 @@ The `vars` section contains a list of variables and values that can be used in t van_halen_port: 5150 other: 'magic' +.. note:: + You can also keep variables in separate files and include them alongside inline `vars` with a `vars_files` declaration + in the play. See the `Advanced Playbooks chapter `_ + for more info. + These variables can be used later in the playbook like this:: $varname or ${varname} or {{ varname }}