From f000baf6f719c47c9f401bb7f5256f296ac55df5 Mon Sep 17 00:00:00 2001 From: Risto Oikarinen Date: Fri, 2 Nov 2018 20:50:42 +0200 Subject: [PATCH] Add yaml version of using host variables example (#47700) --- docs/docsite/rst/user_guide/intro_inventory.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/docsite/rst/user_guide/intro_inventory.rst b/docs/docsite/rst/user_guide/intro_inventory.rst index 2e1edf44a3..e2c62fc239 100644 --- a/docs/docsite/rst/user_guide/intro_inventory.rst +++ b/docs/docsite/rst/user_guide/intro_inventory.rst @@ -137,6 +137,18 @@ As described above, it is easy to assign variables to hosts that will be used la host1 http_port=80 maxRequestsPerChild=808 host2 http_port=303 maxRequestsPerChild=909 +The YAML version: + +.. code-block:: yaml + + atlanta: + host1: + http_port: 80 + maxRequestsPerChild: 808 + host2: + http_port: 303 + maxRequestsPerChild: 909 + .. _group_variables: Group Variables