You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/docsite/rst/dev_guide/developing_modules_general.rst
+12-10
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ Starting a new module
51
51
52
52
To create a new module:
53
53
54
-
1. Navigate to the correct directory for your new module: ``$ cd lib/ansible/modules/cloud/azure/``
54
+
1. Navigate to the correct directory for your new module: ``$ cd lib/ansible/modules/``
55
55
2. Create your new module file: ``$ touch my_test.py``
56
56
3. Paste the content below into your new module file. It includes the :ref:`required Ansible format and documentation <developing_modules_documenting>` and some example code.
57
57
4. Modify and extend the code to do what you want your new module to do. See the :ref:`programming tips <developing_modules_best_practices>` and :ref:`Python 3 compatibility <developing_python_3>` pages for pointers on writing clean, concise module code.
0 commit comments