Skip to content

Commit 84c4336

Browse files
committed
Add usage note to doc about python bin and ansible-cmdb.py location
1 parent 8db3968 commit 84c4336

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

docs/usage.md

+8
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ overview page:
1212

1313
ansible-cmdb out/ > overview.html
1414

15+
!!! Note
16+
`ansible-cmdb` is a shell wrapper script that tries its best to find the
17+
correct Python binary to use and the proper location of the
18+
`ansible-cmdb.py` script. If it fails to do so, you can manually specify
19+
the path to the correct python interpreter and script. E.g.:
20+
21+
/opt/python3/bin/python /opt/ansible-cmdb/src/ansible-cmdb.py
22+
1523
By default, the `html_fancy` template is used, which generates output
1624
containing an overview of all your hosts, with a section of detailed
1725
information for each host.

mkdocs.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
site_name: Ansible-CMDB
22
theme: readthedocs
3+
markdown_extensions:
4+
- admonition
35
pages:
46
- About: index.md
57
- Installation: installation.md

0 commit comments

Comments
 (0)