1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add yaml version of using host variables example (#47700)

This commit is contained in:
Risto Oikarinen 2018-11-02 20:50:42 +02:00 committed by Sandra McCann
parent e38796bf7b
commit f000baf6f7

View file

@ -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 host1 http_port=80 maxRequestsPerChild=808
host2 http_port=303 maxRequestsPerChild=909 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:
Group Variables Group Variables