Skip to content

Commit 6750430

Browse files
Apply suggestions from code review
Co-authored-by: Felix Fontein <[email protected]>
1 parent 3b8e993 commit 6750430

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docsite/rst/dev_guide/developing_modules_general.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ Info and facts modules, are just like any other Ansible Module, with a few minor
6464
5. They MUST NOT make any changes to the system.
6565
6. They MUST document the :ref:`return fields<return_block>` and :ref:`examples<examples_block>`.
6666

67-
You can add your ``*_facts`` into ``ansible_facts`` field of the result as follows:
67+
You can add your facts into ``ansible_facts`` field of the result as follows:
6868

6969
.. code-block:: python
7070
71-
module.exit_json(changed=False, ansible_facts=dict(new_facts))
71+
module.exit_json(changed=False, ansible_facts=dict(my_new_fact=value_of_fact))
7272
7373
7474
The rest is just like creating a normal module.

0 commit comments

Comments
 (0)