summaryrefslogtreecommitdiffstats
path: root/hacking
diff options
context:
space:
mode:
authorCindy Park <86710710+cpark50@users.noreply.github.com>2022-03-24 19:18:33 +0100
committerGitHub <noreply@github.com>2022-03-24 19:18:33 +0100
commit1bdcb562496e3abf93981c61ceb5098a6f4addb1 (patch)
tree1bb17cbe1d45d17001456a613004198306b35354 /hacking
parentIncorrect parent role paths var description (#77342) (diff)
downloadansible-1bdcb562496e3abf93981c61ceb5098a6f4addb1.tar.xz
ansible-1bdcb562496e3abf93981c61ceb5098a6f4addb1.zip
Improve documentation to fix outdated file paths (#77341)
Co-authored-by: njthanhtrang <njthanhtrang@users.noreply.github.com>
Diffstat (limited to 'hacking')
-rw-r--r--hacking/README.md2
-rwxr-xr-xhacking/test-module.py8
2 files changed, 5 insertions, 5 deletions
diff --git a/hacking/README.md b/hacking/README.md
index b31c884f0f..46235579db 100644
--- a/hacking/README.md
+++ b/hacking/README.md
@@ -29,7 +29,7 @@ a module outside of the ansible program, locally, on the current machine.
Example:
- $ ./hacking/test-module.py -m lib/ansible/modules/commands/command.py -a "echo hi"
+ $ ./hacking/test-module.py -m lib/ansible/modules/command.py -a "echo hi"
This is a good way to insert a breakpoint into a module, for instance.
diff --git a/hacking/test-module.py b/hacking/test-module.py
index 6cdda7c426..54343e07e8 100755
--- a/hacking/test-module.py
+++ b/hacking/test-module.py
@@ -23,10 +23,10 @@
# modules
#
# example:
-# ./hacking/test-module.py -m lib/ansible/modules/commands/command.py -a "/bin/sleep 3"
-# ./hacking/test-module.py -m lib/ansible/modules/commands/command.py -a "/bin/sleep 3" --debugger /usr/bin/pdb
-# ./hacking/test-module.py -m lib/ansible/modules/files/lineinfile.py -a "dest=/etc/exports line='/srv/home hostname1(rw,sync)'" --check
-# ./hacking/test-module.py -m lib/ansible/modules/commands/command.py -a "echo hello" -n -o "test_hello"
+# ./hacking/test-module.py -m lib/ansible/modules/command.py -a "/bin/sleep 3"
+# ./hacking/test-module.py -m lib/ansible/modules/command.py -a "/bin/sleep 3" --debugger /usr/bin/pdb
+# ./hacking/test-module.py -m lib/ansible/modules/lineinfile.py -a "dest=/etc/exports line='/srv/home hostname1(rw,sync)'" --check
+# ./hacking/test-module.py -m lib/ansible/modules/command.py -a "echo hello" -n -o "test_hello"
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type