* Fixing missing hosts entry under the group dict.
* Added missing 'vars:' key
* Reordering arguments for consistency with the format displayed by "ansible-playbook --help"
* Fixing contradictory text
Unique values like non-standard SSH ports work well as host variables. You can add them to your Ansible inventory by adding the port number after the hostname with a colon:
@ -446,9 +447,11 @@ You can change this behavior by setting the group variable ``ansible_group_prior
..code-block:: yaml
a_group:
vars:
testvar: a
ansible_group_priority: 10
b_group:
vars:
testvar: b
In this example, if both groups have the same priority, the result would normally have been ``testvar == b``, but since we are giving the ``a_group`` a higher priority the result will be ``testvar == a``.
@ -727,7 +730,7 @@ To apply a playbook called :file:`site.yml`
to all the app servers in the test environment, use the