diff --git a/docs/docsite/rst/playbooks_prompts.rst b/docs/docsite/rst/playbooks_prompts.rst index 606ab0f1f4..eaf6013ccf 100644 --- a/docs/docsite/rst/playbooks_prompts.rst +++ b/docs/docsite/rst/playbooks_prompts.rst @@ -27,6 +27,9 @@ Here is a most basic example:: - name: "favcolor" prompt: "what is your favorite color?" +.. note:: + Prompts for individual ``vars_prompt`` variables will be skipped for any variable that is already defined through the command line ``--extra-vars`` option, or when running from a non-interactive session (such as cron or Ansible Tower). See :ref:`_passing_variables_on_the_command_line` in the /Variables/ chapter. + If you have a variable that changes infrequently, it might make sense to provide a default value that can be overridden. This can be accomplished using the default argument::