Skip to content

Commit

Permalink
corrected epmhasis line (ansible#74254)
Browse files Browse the repository at this point in the history
need to be careful when adding lines as you create a different offset
  • Loading branch information
bcoca committed Apr 20, 2021
1 parent 2296da9 commit 7b39ee3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/docsite/rst/user_guide/complex_data_manipulation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 7b39ee3

Please sign in to comment.