mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Add yaml version of using host variables example (#47700)
This commit is contained in:
committed by
Sandra McCann
parent
e38796bf7b
commit
f000baf6f7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user