corrected epmhasis line (#74254)

need to be careful when adding lines as you create a different offset
This commit is contained in:
Brian Coca 2021-04-20 10:38:06 -04:00 committed by GitHub
parent 2296da95a2
commit 7b39ee361d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ The Python equivalent code would be:
There are several ways to do it in Ansible, this is just one example:
.. code-block:: YAML+Jinja
:emphasize-lines: 3
:emphasize-lines: 4
:caption: Way to extract matching keys from a list of dictionaries
tasks:
@ -110,7 +110,7 @@ In this case, we want to find the mount point for a given path across our machin
.. code-block:: YAML+Jinja
:caption: Use selectattr to filter mounts into list I can then sort and select the last from
:emphasize-lines: 7
:emphasize-lines: 8
- hosts: all
gather_facts: True
@ -131,7 +131,7 @@ The special ``omit`` variable ONLY works with module options, but we can still u
.. code-block:: YAML+Jinja
:caption: Inline list filtering when feeding a module option
:emphasize-lines: 3, 7
:emphasize-lines: 3, 6
- name: Enable a list of Windows features, by name
ansible.builtin.set_fact: