怎么查看hdfs模块的路径
时间: 2023-08-03 16:06:54 浏览: 78
HDFS文件的查看
您可以使用以下命令查找已安装的hdfs模块的路径:
```
ansible-config dump | grep -i hdfs
```
该命令将输出包含hdfs模块路径的信息,例如:
```
COLLECTIONS_PATHS(22) = ['/root/.ansible/collections', '/usr/share/ansible/collections']
DEFAULT_COLLECTIONS_PATH = ['/usr/share/ansible/collections', '/root/.ansible/collections']
ANSIBLE_LIBRARY = ['/root/.ansible/collections/ansible_collections/community/general/plugins/modules/hdfs.py']
```
在这个例子中,hdfs模块的路径是“/root/.ansible/collections/ansible_collections/community/general/plugins/modules/hdfs.py”。
阅读全文