#78971 Update module_lifecycle.rst (#78974)

* Update module_lifecycle.rst
pull/78978/head
IMvision12 2 years ago committed by GitHub
parent 3dc0c2135e
commit 93c2cb2b8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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
====================================================================================================

Loading…
Cancel
Save