summaryrefslogtreecommitdiff
path: root/docs/docsite/rst/dev_guide/module_lifecycle.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/docsite/rst/dev_guide/module_lifecycle.rst')
-rw-r--r--docs/docsite/rst/dev_guide/module_lifecycle.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/docsite/rst/dev_guide/module_lifecycle.rst b/docs/docsite/rst/dev_guide/module_lifecycle.rst
index 1e02c3448d..823e2b3738 100644
--- a/docs/docsite/rst/dev_guide/module_lifecycle.rst
+++ b/docs/docsite/rst/dev_guide/module_lifecycle.rst
@@ -69,13 +69,13 @@ Changing a module or plugin name in the Ansible main repository
===============================================================
You can also rename a module and keep a deprecated alias to the old name by using a symlink that starts with _.
-This example allows the ``stat`` module to be called with ``fileinfo``, making the following examples equivalent::
+This example allows the ``stat`` module to be called with ``fileinfo``, making the following examples equivalent:
- EXAMPLES = '''
+.. code-block:: yaml
+
ln -s stat.py _fileinfo.py
ansible -m stat -a "path=/tmp" localhost
ansible -m fileinfo -a "path=/tmp" localhost
- '''
Renaming a module or plugin in a collection, or redirecting a module or plugin to another collection
====================================================================================================